Skip to content

Commit

Permalink
Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot authored and ondrejmirtes committed Apr 6, 2024
1 parent d26c386 commit 2d23fcc
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions e2e/integration/composer-baseline.neon
Expand Up @@ -30,6 +30,21 @@ parameters:
count: 1
path: repo/src/Composer/Autoload/PhpFileCleaner.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Command/GlobalCommand.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Command/InitCommand.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 2
path: repo/src/Composer/Command/ShowCommand.php

-
message: "#^Method Composer\\\\Command\\\\ShowCommand\\:\\:getPackage\\(\\) should return array\\{Composer\\\\Package\\\\CompletePackageInterface\\|null, array\\<string, string\\>\\} but returns array\\{Composer\\\\Package\\\\BasePackage\\|null, array\\<string, string\\>\\}\\.$#"
count: 1
Expand All @@ -50,6 +65,11 @@ parameters:
count: 1
path: repo/src/Composer/Command/ShowCommand.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Command/UpdateCommand.php

-
message: "#^Only booleans are allowed in &&, array\\<string\\> given on the right side\\.$#"
count: 2
Expand All @@ -60,6 +80,11 @@ parameters:
count: 2
path: repo/src/Composer/Command/ValidateCommand.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Package/Archiver/ArchiveManager.php

-
message: "#^Parameter \\#1 \\$array of function ksort expects array, array\\|string given\\.$#"
count: 1
Expand All @@ -75,11 +100,21 @@ parameters:
count: 1
path: repo/src/Composer/Platform/Version.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 3
path: repo/src/Composer/Repository/ComposerRepository.php

-
message: "#^Only booleans are allowed in a ternary operator condition, bool\\|null given\\.$#"
count: 4
path: repo/src/Composer/Repository/PlatformRepository.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Util/ErrorHandler.php

-
message: "#^Parameter &\\$match by\\-ref type of method Composer\\\\Util\\\\Git\\:\\:isAuthenticationFailure\\(\\) expects array\\<string\\>, array\\<int\\|string, string\\|null\\> given\\.$#"
count: 1
Expand Down Expand Up @@ -130,6 +165,16 @@ parameters:
count: 1
path: repo/src/Composer/Util/RemoteFilesystem.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/src/Composer/Util/TlsHelper.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 2
path: repo/tests/Composer/Test/Advisory/AuditorTest.php

-
message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
count: 1
Expand Down Expand Up @@ -165,6 +210,11 @@ parameters:
count: 5
path: repo/tests/Composer/Test/Installer/SuggestedPackagesReporterTest.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
path: repo/tests/Composer/Test/Repository/PlatformRepositoryTest.php

-
message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
count: 6
Expand Down

0 comments on commit 2d23fcc

Please sign in to comment.