diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 2ddba802a3..5e91304dbf 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -125,11 +125,6 @@ parameters: count: 1 path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php - - - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" count: 1 diff --git a/phpstan-baseline-8.0.neon b/phpstan-baseline-8.0.neon index b6afeaa760..3f17ddcbc5 100644 --- a/phpstan-baseline-8.0.neon +++ b/phpstan-baseline-8.0.neon @@ -125,11 +125,6 @@ parameters: count: 2 path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|false given\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#" count: 1 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8017126337..0032813488 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -4140,66 +4140,11 @@ parameters: count: 1 path: src/bundle/Debug/DependencyInjection/Compiler/DataCollectorPass.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\DependencyInjection\\\\IbexaDebugExtension\\:\\:load\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Debug/DependencyInjection/IbexaDebugExtension.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\DependencyInjection\\\\IbexaDebugExtension\\:\\:prepend\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Debug/DependencyInjection/IbexaDebugExtension.php - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\IbexaDebugBundle\\:\\:build\\(\\) has no return type specified\\.$#" count: 1 path: src/bundle/Debug/IbexaDebugBundle.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:display\\(\\) has parameter \\$blocks with no value type specified in iterable type array\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:display\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:doDisplay\\(\\) has parameter \\$blocks with no value type specified in iterable type array\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:doDisplay\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Parameter \\#1 \\$haystack of function stripos expects string, string\\|false\\|null given\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false\\|null given\\.$#" - count: 2 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|false given\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - - - message: "#^Property Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:\\$fileSystem has no type specified\\.$#" - count: 1 - path: src/bundle/Debug/Twig/DebugTemplate.php - - message: "#^Method Ibexa\\\\Bundle\\\\IO\\\\ApiLoader\\\\HandlerRegistry\\:\\:setHandlersMap\\(\\) has no return type specified\\.$#" count: 1