diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 63e48aa8de..aaf8fda7ec 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -130,31 +130,6 @@ parameters: count: 1 path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php - - - message: "#^Parameter \\#1 \\$mh of function curl_multi_add_handle expects resource, resource\\|false given\\.$#" - count: 2 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - - message: "#^Parameter \\#1 \\$mh of function curl_multi_close expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - - message: "#^Parameter \\#1 \\$mh of function curl_multi_exec expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - - message: "#^Parameter \\#1 \\$mh of function curl_multi_info_read expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - - message: "#^Parameter \\#1 \\$mh of function curl_multi_remove_handle expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#" count: 1 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index eb9e29bdbd..9555356d45 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -18145,6 +18145,11 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php + - + message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(int\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: int given\\.$#" + count: 1 + path: src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php + - message: "#^Variable \\$connection in PHPDoc tag @var does not match assigned variable \\$query\\.$#" count: 1