From 1f6db6b035f6d1962e5ed4a79890a7111d6c951d Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Mon, 25 Jul 2022 20:28:37 +0200 Subject: [PATCH] Update phpstan-baseline.neon --- phpstan-baseline.neon | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 769a041e..1167a441 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -85,6 +85,26 @@ parameters: count: 1 path: inc/theme-settings.php + - + message: "#^Function understrap_add_block_widget_archives_classes\\(\\) has parameter \\$block with no value type specified in iterable type array\\.$#" + count: 1 + path: inc/widgets.php + + - + message: "#^Function understrap_add_block_widget_categories_class\\(\\) has parameter \\$parsed_args with no value type specified in iterable type array\\.$#" + count: 1 + path: inc/widgets.php + + - + message: "#^Function understrap_add_widget_categories_class\\(\\) has parameter \\$cat_args with no value type specified in iterable type array\\.$#" + count: 1 + path: inc/widgets.php + + - + message: "#^Function understrap_add_widget_categories_class\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: inc/widgets.php + - message: "#^Function understrap_widget_classes\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#" count: 1 @@ -109,4 +129,3 @@ parameters: message: "#^Function understrap_quantity_input_classes\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 path: inc/woocommerce.php -