From 8941a00d1b1c1b7558a49c2360e872e3bc1c3444 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 19 Dec 2023 16:43:00 +0100 Subject: [PATCH] Update baseline --- phpstan/baseline-8.1.neon | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/phpstan/baseline-8.1.neon b/phpstan/baseline-8.1.neon index 9c13d8216..5a0aabf76 100644 --- a/phpstan/baseline-8.1.neon +++ b/phpstan/baseline-8.1.neon @@ -55,6 +55,11 @@ parameters: count: 1 path: ../src/Composer/Config/JsonConfigSource.php + - + message: "#^Call to function method_exists\\(\\) with \\$this\\(Composer\\\\Console\\\\Application\\) and 'setCatchErrors' will always evaluate to true\\.$#" + count: 2 + path: ../src/Composer/Console/Application.php + - message: "#^Parameter \\#2 \\$callback of function uksort expects callable\\(string, string\\)\\: int, 'version_compare' given\\.$#" count: 2 @@ -85,6 +90,11 @@ parameters: count: 1 path: ../src/Composer/Downloader/GzipDownloader.php + - + message: "#^Call to function method_exists\\(\\) with Symfony\\\\Component\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#" + count: 1 + path: ../src/Composer/EventDispatcher/EventDispatcher.php + - message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#" count: 1 @@ -270,11 +280,21 @@ parameters: count: 2 path: ../tests/Composer/Test/ConfigTest.php + - + message: "#^Call to function method_exists\\(\\) with Composer\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#" + count: 1 + path: ../tests/Composer/Test/DocumentationTest.php + - message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{Composer\\\\Repository\\\\CompositeRepository, string\\} given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/CompositeRepositoryTest.php + - + message: "#^Call to function method_exists\\(\\) with Composer\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#" + count: 1 + path: ../tests/Composer/Test/TestCase.php + - message: "#^Parameter \\#1 \\$object of method ReflectionProperty\\:\\:getValue\\(\\) expects object\\|null, object\\|string given\\.$#" count: 1