1
0
Fork 0

Update baseline (2182+104)

pull/10629/head
Jordi Boggiano 2022-03-16 10:14:17 +01:00
parent 20e410f3a2
commit 8d446bef67
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 3 additions and 88 deletions

View File

@ -65,11 +65,6 @@ parameters:
count: 1
path: ../src/Composer/Command/ValidateCommand.php
-
message: "#^Parameter \\#1 \\$string of function substr_replace expects array\\|string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Compiler.php
-
message: "#^Parameter \\#1 \\$string of function rtrim expects string, int\\|string\\|null given\\.$#"
count: 1
@ -90,11 +85,6 @@ parameters:
count: 2
path: ../src/Composer/DependencyResolver/Problem.php
-
message: "#^Parameter \\#1 \\$string of function trim expects string, array\\<string, array\\<string\\>\\>\\|string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/FileDownloader.php
-
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
count: 1

View File

@ -1337,7 +1337,7 @@ parameters:
-
message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#"
count: 3
count: 2
path: ../src/Composer/Command/StatusCommand.php
-
@ -1435,11 +1435,6 @@ parameters:
count: 1
path: ../src/Composer/Compiler.php
-
message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Compiler.php
-
message: "#^Parameter \\#1 \\$source of method Composer\\\\Compiler\\:\\:stripWhitespace\\(\\) expects string, string\\|false given\\.$#"
count: 1
@ -1447,11 +1442,6 @@ parameters:
-
message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|false given\\.$#"
count: 2
path: ../src/Composer/Compiler.php
-
message: "#^Parameter \\#1 \\$str of function substr_replace expects array\\|string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Compiler.php
@ -2280,11 +2270,6 @@ parameters:
count: 2
path: ../src/Composer/Downloader/FileDownloader.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, array\\<string, array\\<string\\>\\>\\|string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/FileDownloader.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 4
@ -2295,11 +2280,6 @@ parameters:
count: 5
path: ../src/Composer/Downloader/FossilDownloader.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 1
path: ../src/Composer/Downloader/FossilDownloader.php
-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 5
@ -2335,11 +2315,6 @@ parameters:
count: 1
path: ../src/Composer/Downloader/GitDownloader.php
-
message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#"
count: 1
path: ../src/Composer/Downloader/GitDownloader.php
-
message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#"
count: 2
@ -2360,11 +2335,6 @@ parameters:
count: 1
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
path: ../src/Composer/Downloader/GitDownloader.php
-
message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#"
count: 1
@ -2400,26 +2370,11 @@ parameters:
count: 3
path: ../src/Composer/Downloader/HgDownloader.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 1
path: ../src/Composer/Downloader/HgDownloader.php
-
message: "#^Call to function in_array\\(\\) with arguments 20, array\\{0\\: 10\\|20, 1\\?\\: 20\\} and true will always evaluate to true\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Call to function in_array\\(\\) with arguments 20, non\\-empty\\-array\\<int, 10\\|20\\> and true will always evaluate to true\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Only booleans are allowed in an if condition, array\\<string, string\\|null\\>\\|null given\\.$#"
count: 1
@ -2435,11 +2390,6 @@ parameters:
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$originDir of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:symlink\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$path of function realpath expects string, string\\|null given\\.$#"
count: 3
@ -2515,11 +2465,6 @@ parameters:
count: 1
path: ../src/Composer/Downloader/PerforceDownloader.php
-
message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#"
count: 1
path: ../src/Composer/Downloader/SvnDownloader.php
-
message: "#^Parameter \\#1 \\$version1 of function version_compare expects string, string\\|null given\\.$#"
count: 1
@ -3330,14 +3275,9 @@ parameters:
count: 1
path: ../src/Composer/Package/Archiver/ArchivableFilesFinder.php
-
message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Package/Archiver/ArchivableFilesFinder.php
-
message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:normalizePath\\(\\) expects string, string\\|false given\\.$#"
count: 2
count: 1
path: ../src/Composer/Package/Archiver/ArchivableFilesFinder.php
-
@ -3990,11 +3930,6 @@ parameters:
count: 1
path: ../src/Composer/Repository/ArtifactRepository.php
-
message: "#^Parameter \\#1 \\$filename of function sha1_file expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Repository/ArtifactRepository.php
-
message: "#^Cannot access offset 'path' on array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}\\|false\\.$#"
count: 1
@ -4718,11 +4653,6 @@ parameters:
count: 1
path: ../src/Composer/Repository/Vcs/GitLabDriver.php
-
message: "#^Only booleans are allowed in &&, string given on the left side\\.$#"
count: 2
path: ../src/Composer/Repository/Vcs/GitLabDriver.php
-
message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#"
count: 1
@ -4745,7 +4675,7 @@ parameters:
-
message: "#^Only booleans are allowed in an if condition, string given\\.$#"
count: 3
count: 1
path: ../src/Composer/Repository/Vcs/GitLabDriver.php
-
@ -5528,11 +5458,6 @@ parameters:
count: 1
path: ../src/Composer/Util/HttpDownloader.php
-
message: "#^Binary operation \"\\.\" between non\\-empty\\-string and non\\-empty\\-array\\<array\\{versions\\: string, message\\: string\\}\\>\\|non\\-empty\\-string results in an error\\.$#"
count: 1
path: ../src/Composer/Util/HttpDownloader.php
-
message: "#^Cannot call method abortRequest\\(\\) on Composer\\\\Util\\\\Http\\\\CurlDownloader\\|null\\.$#"
count: 1