1
0
Fork 0

Fix build

pull/11956/merge
Jordi Boggiano 2024-08-22 15:04:02 +02:00
parent a17096f5ba
commit b96821c727
No known key found for this signature in database
2 changed files with 8 additions and 48 deletions

View File

@ -177,7 +177,7 @@ parameters:
- -
message: "#^Casting to string something that's already string\\.$#" message: "#^Casting to string something that's already string\\.$#"
count: 4 count: 3
path: ../src/Composer/Util/Filesystem.php path: ../src/Composer/Util/Filesystem.php
- -

View File

@ -1655,51 +1655,6 @@ parameters:
count: 3 count: 3
path: ../src/Composer/Downloader/HgDownloader.php path: ../src/Composer/Downloader/HgDownloader.php
-
message: "#^Only booleans are allowed in an if condition, array\\<string, string\\|null\\>\\|null given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Only booleans are allowed in an if condition, 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
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:isAbsolutePath\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:normalizePath\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:normalizePath\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#1 \\$target of method Composer\\\\Util\\\\Filesystem\\:\\:junction\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
-
message: "#^Parameter \\#2 \\$to of method Composer\\\\Util\\\\Filesystem\\:\\:findShortestPath\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: ../src/Composer/Downloader/PathDownloader.php
- -
message: "#^Cannot call method cleanupClientSpec\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" message: "#^Cannot call method cleanupClientSpec\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#"
count: 1 count: 1
@ -1947,7 +1902,7 @@ parameters:
- -
message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#"
count: 6 count: 5
path: ../src/Composer/Factory.php path: ../src/Composer/Factory.php
- -
@ -1967,7 +1922,7 @@ parameters:
- -
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 3 count: 2
path: ../src/Composer/Factory.php path: ../src/Composer/Factory.php
- -
@ -3713,6 +3668,11 @@ parameters:
count: 1 count: 1
path: ../src/Composer/Util/ConfigValidator.php path: ../src/Composer/Util/ConfigValidator.php
-
message: "#^Casting to string something that's already string\\.$#"
count: 1
path: ../src/Composer/Util/Filesystem.php
- -
message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
count: 1 count: 1