Skip to content

Commit 8941a00

Browse files
committed
Update baseline
1 parent 3cfd9bf commit 8941a00

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

phpstan/baseline-8.1.neon

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ parameters:
5555
count: 1
5656
path: ../src/Composer/Config/JsonConfigSource.php
5757

58+
-
59+
message: "#^Call to function method_exists\\(\\) with \\$this\\(Composer\\\\Console\\\\Application\\) and 'setCatchErrors' will always evaluate to true\\.$#"
60+
count: 2
61+
path: ../src/Composer/Console/Application.php
62+
5863
-
5964
message: "#^Parameter \\#2 \\$callback of function uksort expects callable\\(string, string\\)\\: int, 'version_compare' given\\.$#"
6065
count: 2
@@ -85,6 +90,11 @@ parameters:
8590
count: 1
8691
path: ../src/Composer/Downloader/GzipDownloader.php
8792

93+
-
94+
message: "#^Call to function method_exists\\(\\) with Symfony\\\\Component\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#"
95+
count: 1
96+
path: ../src/Composer/EventDispatcher/EventDispatcher.php
97+
8898
-
8999
message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#"
90100
count: 1
@@ -270,11 +280,21 @@ parameters:
270280
count: 2
271281
path: ../tests/Composer/Test/ConfigTest.php
272282

283+
-
284+
message: "#^Call to function method_exists\\(\\) with Composer\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#"
285+
count: 1
286+
path: ../tests/Composer/Test/DocumentationTest.php
287+
273288
-
274289
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{Composer\\\\Repository\\\\CompositeRepository, string\\} given\\.$#"
275290
count: 1
276291
path: ../tests/Composer/Test/Repository/CompositeRepositoryTest.php
277292

293+
-
294+
message: "#^Call to function method_exists\\(\\) with Composer\\\\Console\\\\Application and 'setCatchErrors' will always evaluate to true\\.$#"
295+
count: 1
296+
path: ../tests/Composer/Test/TestCase.php
297+
278298
-
279299
message: "#^Parameter \\#1 \\$object of method ReflectionProperty\\:\\:getValue\\(\\) expects object\\|null, object\\|string given\\.$#"
280300
count: 1

0 commit comments

Comments
 (0)