From 335c3c9450ceaa944f25d514fc7e074867276888 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 4 Feb 2022 16:25:16 +0100 Subject: [PATCH] Update baseline --- phpstan/baseline.neon | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/phpstan/baseline.neon b/phpstan/baseline.neon index 3d77449f0..e8bb60c5c 100644 --- a/phpstan/baseline.neon +++ b/phpstan/baseline.neon @@ -1765,6 +1765,11 @@ parameters: count: 1 path: ../src/Composer/Command/ShowCommand.php + - + message: "#^Binary operation \"\\.\" between ' in ' and array\\|bool\\|float\\|int\\|string results in an error\\.$#" + count: 1 + path: ../src/Composer/Command/ShowCommand.php + - message: "#^Binary operation \"\\.\" between '\\latest\\…' and array\\\\|string results in an error\\.$#" count: 1 @@ -1775,11 +1780,6 @@ parameters: count: 1 path: ../src/Composer/Command/ShowCommand.php - - - message: "#^Binary operation \"\\.\" between non\\-empty\\-string and array\\|bool\\|float\\|int\\|string results in an error\\.$#" - count: 1 - path: ../src/Composer/Command/ShowCommand.php - - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 @@ -1952,7 +1952,7 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" - count: 9 + count: 10 path: ../src/Composer/Command/ShowCommand.php - @@ -2012,7 +2012,7 @@ parameters: - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" - count: 13 + count: 14 path: ../src/Composer/Command/ShowCommand.php - @@ -2812,12 +2812,12 @@ parameters: - message: "#^Cannot call method getRepoName\\(\\) on Composer\\\\Repository\\\\RepositoryInterface\\|null\\.$#" - count: 4 + count: 3 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Cannot call method getRepository\\(\\) on Composer\\\\Package\\\\PackageInterface\\|false\\.$#" - count: 2 + count: 1 path: ../src/Composer/DependencyResolver/Problem.php - @@ -3445,21 +3445,11 @@ parameters: count: 4 path: ../src/Composer/Downloader/GitDownloader.php - - - message: "#^Parameter \\#2 \\$reference of method Composer\\\\Downloader\\\\GitDownloader\\:\\:updateToCommit\\(\\) expects string, string\\|null given\\.$#" - count: 2 - path: ../src/Composer/Downloader/GitDownloader.php - - message: "#^Parameter \\#3 \\$ref of method Composer\\\\Util\\\\Git\\:\\:fetchRefOrSyncMirror\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - - - message: "#^Parameter \\#4 \\$date of method Composer\\\\Downloader\\\\GitDownloader\\:\\:updateToCommit\\(\\) expects DateTime, DateTime\\|null given\\.$#" - count: 2 - path: ../src/Composer/Downloader/GitDownloader.php - - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1