Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update baselines for refs/heads/1.11.x #11050

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 5 additions & 20 deletions e2e/integration/composer-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ parameters:
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 Down Expand Up @@ -80,6 +75,11 @@ parameters:
count: 2
path: repo/src/Composer/Command/ValidateCommand.php

-
message: "#^Parameter \\#2 \\$replacement of static method Composer\\\\Pcre\\\\Preg\\:\\:replaceCallback\\(\\) expects callable\\(array\\<int\\|string, string\\|null\\>\\)\\: string, Closure\\(mixed\\)\\: \\(string\\|null\\) given\\.$#"
count: 1
path: repo/src/Composer/Json/JsonFormatter.php

-
message: "#^Call to function array_filter\\(\\) requires parameter \\#2 to be passed to avoid loose comparison semantics\\.$#"
count: 1
Expand All @@ -100,21 +100,11 @@ 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 @@ -170,11 +160,6 @@ parameters:
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
5 changes: 5 additions & 0 deletions e2e/integration/doctrine-dbal-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ parameters:
message: "#^Method Doctrine\\\\DBAL\\\\Driver\\\\Mysqli\\\\Result\\:\\:rowCount\\(\\) should return int but returns int\\<\\-1, max\\>\\|string\\.$#"
count: 1
path: repo/src/Driver/Mysqli/Result.php

-
message: "#^Parameter \\#2 \\$callback of function array_reduce expects callable\\(\\(callable&TIn\\)\\|Closure\\(mixed \\$value\\)\\: mixed\\|null, callable\\(T\\)\\: T\\)\\: \\(\\(callable&TIn\\)\\|Closure\\(mixed \\$value\\)\\: mixed\\|null\\), Closure\\(callable\\|null, callable\\)\\: \\(callable\\(T\\)\\: T\\) given\\.$#"
count: 1
path: repo/src/Portability/Converter.php
2 changes: 2 additions & 0 deletions e2e/integration/laravel-types-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
parameters:
ignoreErrors: []
11 changes: 11 additions & 0 deletions e2e/integration/react-promise-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^Method React\\\\Promise\\\\Internal\\\\FulfilledPromise\\:\\:finally\\(\\) should return React\\\\Promise\\\\PromiseInterface\\<T\\> but returns React\\\\Promise\\\\PromiseInterface\\<\\(T of mixed\\)\\|null\\>\\.$#"
count: 1
path: repo/src/Internal/FulfilledPromise.php

-
message: "#^Method React\\\\Promise\\\\Promise\\:\\:finally\\(\\) should return React\\\\Promise\\\\PromiseInterface\\<T\\> but returns React\\\\Promise\\\\PromiseInterface\\<\\(T of mixed\\)\\|null\\>\\.$#"
count: 1
path: repo/src/Promise.php
Loading