diff --git a/phpstan/baseline.neon b/phpstan/baseline.neon index afa3486b2..50f63ff25 100644 --- a/phpstan/baseline.neon +++ b/phpstan/baseline.neon @@ -2152,7 +2152,7 @@ parameters: - message: "#^Casting to bool something that's already bool\\.$#" - count: 15 + count: 11 path: ../src/Composer/Installer.php - @@ -2160,11 +2160,6 @@ parameters: count: 1 path: ../src/Composer/Installer.php - - - message: "#^Only booleans are allowed in &&, array\\\\|null given on the left side\\.$#" - count: 1 - path: ../src/Composer/Installer.php - - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\LockArrayRepository\\|null given\\.$#" count: 1 @@ -2205,16 +2200,6 @@ parameters: count: 5 path: ../src/Composer/Installer.php - - - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" - count: 1 - path: ../src/Composer/Installer.php - - - - message: "#^Only booleans are allowed in \\|\\|, array\\\\|null given on the left side\\.$#" - count: 2 - path: ../src/Composer/Installer.php - - message: "#^Parameter \\#2 \\$stabilityFlags of class Composer\\\\Repository\\\\RepositorySet constructor expects array\\, non\\-empty\\-array\\ given\\.$#" count: 1