2022-01-01 13:39:32 +00:00
|
|
|
parameters:
|
|
|
|
ignoreErrors:
|
2022-04-06 19:48:23 +00:00
|
|
|
-
|
|
|
|
message: "#^Casting to string something that's already string\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Autoload/AutoloadGenerator.php
|
|
|
|
|
2022-01-01 13:39:32 +00:00
|
|
|
-
|
2022-02-15 16:05:01 +00:00
|
|
|
message: "#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{\\$this\\(Composer\\\\Autoload\\\\ClassLoader\\), 'loadClass'\\} given\\.$#"
|
2022-01-01 13:39:32 +00:00
|
|
|
count: 1
|
2022-02-15 16:05:01 +00:00
|
|
|
path: ../src/Composer/Autoload/ClassLoader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\<string\\>\\|null given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../src/Composer/Command/BaseDependencyCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/ConfigCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, array\\{Composer\\\\Config\\\\JsonConfigSource, string\\} given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../src/Composer/Command/ConfigCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/DiagnoseCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/ExecCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\<int, array\\<string, array\\|string\\>\\>\\|string given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/ShowCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|string given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/ShowCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$callback of function uasort expects callable\\(string, string\\)\\: int, 'version_compare' given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Command/ShowCommand.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{Composer\\\\Json\\\\JsonManipulator, string\\} given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Config/JsonConfigSource.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$callback of function uksort expects callable\\(string, string\\)\\: int, 'version_compare' given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../src/Composer/DependencyResolver/Problem.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/GzipDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/GzipDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function gzclose expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/GzipDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function gzread expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/GzipDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#3 \\$length of function fwrite expects int\\<0, max\\>\\|null, int given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/GzipDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function rawurldecode expects string, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Downloader/VcsDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/EventDispatcher/EventDispatcher.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/IO/BufferIO.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function rewind expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/IO/BufferIO.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Installer/BinaryInstaller.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fgets expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Installer/BinaryInstaller.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Only numeric types are allowed in \\-, int\\|false given on the left side\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Package/Archiver/PharArchiver.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$baseDirectory of method Phar\\:\\:buildFromIterator\\(\\) expects string\\|null, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Package/Archiver/PharArchiver.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$array of function ksort expects array, array\\<int\\|string, mixed\\>\\|string given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Package/Dumper/ArrayDumper.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Only booleans are allowed in an if condition, int\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Plugin/PluginManager.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$array of function array_splice expects array, array\\<Composer\\\\Package\\\\BasePackage\\>\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Repository/ArrayRepository.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\<Composer\\\\Package\\\\BasePackage\\>\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Repository/ArrayRepository.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\<string, int\\>\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Repository/ComposerRepository.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$string of function explode expects string, string\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Repository/Vcs/GitLabDriver.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/SelfUpdate/Versions.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$string of function explode expects string, string\\|false\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/AuthHelper.php
|
|
|
|
|
2022-04-06 19:48:23 +00:00
|
|
|
-
|
|
|
|
message: "#^Casting to string something that's already string\\.$#"
|
|
|
|
count: 4
|
|
|
|
path: ../src/Composer/Util/Filesystem.php
|
|
|
|
|
2022-02-15 16:05:01 +00:00
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, string\\|null given\\.$#"
|
2022-02-16 12:24:57 +00:00
|
|
|
count: 15
|
2022-02-15 16:05:01 +00:00
|
|
|
path: ../src/Composer/Util/Git.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, string\\|null given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../src/Composer/Util/Hg.php
|
|
|
|
|
2022-08-25 15:37:49 +00:00
|
|
|
-
|
|
|
|
message: "#^Only booleans are allowed in &&, int\\<0, 2097152\\> given on the right side\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
2022-02-15 16:05:01 +00:00
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_add_handle expects CurlMultiHandle, resource\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_exec expects CurlMultiHandle, resource\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_info_read expects CurlMultiHandle, resource\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_remove_handle expects CurlMultiHandle, resource\\|null given\\.$#"
|
|
|
|
count: 2
|
2022-01-06 12:56:12 +00:00
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
2022-01-01 13:39:32 +00:00
|
|
|
|
2022-02-15 16:05:01 +00:00
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_select expects CurlMultiHandle, resource\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function rtrim expects string, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Property Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:\\$multiHandle \\(resource\\|null\\) does not accept CurlMultiHandle\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Property Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:\\$shareHandle \\(resource\\|null\\) does not accept CurlShareHandle\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Http/CurlDownloader.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/NoProxyPattern.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../src/Composer/Util/Perforce.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, resource\\|false given\\.$#"
|
|
|
|
count: 13
|
|
|
|
path: ../src/Composer/Util/Perforce.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string1 of function strcmp expects string, string\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Perforce.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#2 \\$needle of function strpos expects string, string\\|null given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Perforce.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/Perforce.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function base64_encode expects string, string\\|false given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/RemoteFilesystem.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#5 \\$length of function file_get_contents expects int\\<0, max\\>\\|null, int given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../src/Composer/Util/RemoteFilesystem.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$include_path of function set_include_path expects string, string\\|false given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$string of function rtrim expects string, string\\|false given\\.$#"
|
|
|
|
count: 2
|
|
|
|
path: ../tests/Composer/Test/ConfigTest.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{Composer\\\\Repository\\\\CompositeRepository, string\\} given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../tests/Composer/Test/Repository/CompositeRepositoryTest.php
|
|
|
|
|
|
|
|
-
|
|
|
|
message: "#^Parameter \\#1 \\$object of method ReflectionProperty\\:\\:getValue\\(\\) expects object\\|null, object\\|string given\\.$#"
|
|
|
|
count: 1
|
|
|
|
path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php
|
|
|
|
|