parameters: ignoreErrors: - message: "#^Parameter \\#2 \\$advisories of method Composer\\\\Advisory\\\\Auditor\\:\\:outputAdvisories\\(\\) expects array\\\\>, array\\\\> given\\.$#" count: 1 path: ../src/Composer/Advisory/Auditor.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 10 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Method Composer\\\\Autoload\\\\AutoloadGenerator\\:\\:parseAutoloads\\(\\) should return array\\{psr\\-0\\: array\\\\>, psr\\-4\\: array\\\\>, classmap\\: array\\, files\\: array\\, exclude\\-from\\-classmap\\: array\\\\} but returns array\\{psr\\-0\\: array\\\\|string\\>, psr\\-4\\: array\\\\|string\\>, classmap\\: array\\\\|string\\>, files\\: array\\\\|string\\>, exclude\\-from\\-classmap\\: array\\\\|string\\>\\}\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in &&, bool\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 3 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 3 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#1 \\$from of method Composer\\\\Util\\\\Filesystem\\:\\:findShortestPathCode\\(\\) expects string, string\\|false given\\.$#" count: 5 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#1 \\$path of function realpath expects string, string\\|false given\\.$#" count: 2 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:normalizePath\\(\\) expects string, string\\|false given\\.$#" count: 2 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#2 \\$content of method Composer\\\\Util\\\\Filesystem\\:\\:filePutContentsIfModified\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:isMatch\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Parameter \\#2 \\$to of method Composer\\\\Util\\\\Filesystem\\:\\:findShortestPathCode\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Autoload/AutoloadGenerator.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 4 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, array\\{\\$this\\(Composer\\\\Autoload\\\\ClassLoader\\), 'loadClass'\\} given\\.$#" count: 1 path: ../src/Composer/Autoload/ClassLoader.php - message: "#^Casting to bool something that's already bool\\.$#" count: 2 path: ../src/Composer/Cache.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, 50\\> given\\.$#" count: 1 path: ../src/Composer/Cache.php - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 1 path: ../src/Composer/Cache.php - message: "#^Only booleans are allowed in an if condition, bool\\|null given\\.$#" count: 1 path: ../src/Composer/Cache.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Cache.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Cache.php - message: "#^Only booleans are allowed in &&, Composer\\\\Composer\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ArchiveCommand.php - message: "#^Only booleans are allowed in a negated boolean, \\(Composer\\\\Package\\\\BasePackage&Composer\\\\Package\\\\CompletePackageInterface\\)\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ArchiveCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Config\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ArchiveCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 3 path: ../src/Composer/Command/ArchiveCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ArchiveCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 1 path: ../src/Composer/Command/BaseCommand.php - message: "#^Parameter \\#3 \\$command of class Composer\\\\Plugin\\\\PreCommandRunEvent constructor expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/BaseCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Only booleans are allowed in an if condition, array\\|bool given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Parameter \\#1 \\$results of method Composer\\\\Command\\\\BaseDependencyCommand\\:\\:printTree\\(\\) expects array\\, non\\-empty\\-array\\|true given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Parameter \\#2 \\$commandName of class Composer\\\\Plugin\\\\CommandEvent constructor expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Command/BaseDependencyCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Command/CheckPlatformReqsCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/CheckPlatformReqsCommand.php - message: "#^Only booleans are allowed in a ternary operator condition, Composer\\\\Package\\\\Link\\|null given\\.$#" count: 1 path: ../src/Composer/Command/CheckPlatformReqsCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/CheckPlatformReqsCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ClearCacheCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 3 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Only booleans are allowed in an elseif condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{Composer\\\\Config\\\\JsonConfigSource, string\\} given\\.$#" count: 2 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Parameter \\#2 \\$rawContents of method Composer\\\\Command\\\\ConfigCommand\\:\\:listConfiguration\\(\\) expects array\\, array\\|string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Command/ConfigCommand.php - message: "#^Only booleans are allowed in &&, Composer\\\\Package\\\\PackageInterface\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\PackageInterface\\|false given\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Parameter \\#3 \\$existingRepos of static method Composer\\\\Repository\\\\RepositoryFactory\\:\\:generateRepositoryName\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Variable method call on Composer\\\\Package\\\\RootPackageInterface\\.$#" count: 1 path: ../src/Composer/Command/CreateProjectCommand.php - message: "#^Cannot access offset 'version' on array\\|false\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Cannot call method getPrettyVersion\\(\\) on Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 4 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\|string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 2 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in an if condition, array\\\\|string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Parameter \\#2 \\$data of function hash expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../src/Composer/Command/DiagnoseCommand.php - message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ExecCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/FundCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Command/FundCommand.php - message: "#^Only booleans are allowed in &&, array given on the left side\\.$#" count: 1 path: ../src/Composer/Command/FundCommand.php - message: "#^Only booleans are allowed in &&, array\\\\> given on the right side\\.$#" count: 2 path: ../src/Composer/Command/FundCommand.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 1 path: ../src/Composer/Command/GlobalCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/GlobalCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/HomeCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 2 path: ../src/Composer/Command/HomeCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 1 path: ../src/Composer/Command/HomeCommand.php - message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Cannot call method get\\(\\) on Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperSet\\|null\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Cannot call method getRepoName\\(\\) on Composer\\\\Repository\\\\RepositoryInterface\\|null\\.$#" count: 2 path: ../src/Composer/Command/InitCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 8 path: ../src/Composer/Command/InitCommand.php - message: "#^Instanceof between Composer\\\\Repository\\\\CompositeRepository and Composer\\\\Repository\\\\CompositeRepository will always evaluate to true\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Only booleans are allowed in an elseif condition, string given\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Command/InitCommand.php - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Parameter \\#1 \\$options of method Composer\\\\Command\\\\InitCommand\\:\\:hasDependencies\\(\\) expects array\\\\|string\\>, array\\\\|stdClass\\|string\\> given\\.$#" count: 2 path: ../src/Composer/Command/InitCommand.php - message: "#^Parameter \\#1 \\$path of function basename expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/InitCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 7 path: ../src/Composer/Command/InitCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Command/LicensesCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/ReinstallCommand.php - message: "#^Foreach overwrites \\$type with its key variable\\.$#" count: 1 path: ../src/Composer/Command/RemoveCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 1 path: ../src/Composer/Command/RemoveCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/RemoveCommand.php - message: "#^Cannot call method getRepoName\\(\\) on Composer\\\\Repository\\\\RepositoryInterface\\|null\\.$#" count: 2 path: ../src/Composer/Command/RequireCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Method Composer\\\\Command\\\\RequireCommand\\:\\:getPackagesByRequireKey\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Command/RequireCommand.php - message: "#^Parameter \\#1 \\$contents of class Composer\\\\Json\\\\JsonManipulator constructor expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Property Composer\\\\Command\\\\RequireCommand\\:\\:\\$composerBackup \\(string\\) does not accept string\\|false\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Property Composer\\\\Command\\\\RequireCommand\\:\\:\\$lockBackup \\(string\\|null\\) does not accept string\\|false\\|null\\.$#" count: 1 path: ../src/Composer/Command/RequireCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/RunScriptCommand.php - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 1 path: ../src/Composer/Command/ScriptAliasCommand.php - message: "#^Only booleans are allowed in \\|\\|, mixed given on the left side\\.$#" count: 1 path: ../src/Composer/Command/ScriptAliasCommand.php - message: "#^Parameter \\#3 \\$additionalArgs of method Composer\\\\EventDispatcher\\\\EventDispatcher\\:\\:dispatchScript\\(\\) expects array\\, array\\|bool\\|float\\|int\\|string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ScriptAliasCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/SearchCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Command/SearchCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Composer\\|null given\\.$#" count: 1 path: ../src/Composer/Command/SearchCommand.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/Command/SelfUpdateCommand.php - message: "#^Variable \\$match might not be defined\\.$#" count: 2 path: ../src/Composer/Command/SelfUpdateCommand.php - message: "#^Argument of an invalid type array\\\\>\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Argument of an invalid type array\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Binary operation \"\\.\" between ' ' and array\\|string results in an error\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Binary operation \"\\.\" between '\\latest\\…' and array\\\\|string results in an error\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Binary operation \"\\.\" between non\\-falsy\\-string and array\\\\|string results in an error\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Cannot call method getInstallationManager\\(\\) on Composer\\\\Composer\\|null\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Foreach overwrites \\$packages with its value variable\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Method Composer\\\\Command\\\\ShowCommand\\:\\:addTree\\(\\) should return array\\\\>\\|string\\>\\> but returns array\\\\>\\|string\\>\\>\\|string\\>\\>\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, Composer\\\\Composer\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, Composer\\\\Package\\\\PackageInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, Composer\\\\Package\\\\PackageInterface\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, array\\\\>\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Composer\\|null given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\RepositorySet\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\|null given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\|string given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Composer\\|null given\\.$#" count: 3 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\PackageInterface\\|null given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, array\\\\>\\|string\\>\\>\\|string\\>\\> given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, array\\\\>\\|string\\>\\> given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 4 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 3 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$arrayTree of method Composer\\\\Command\\\\ShowCommand\\:\\:displayPackageTree\\(\\) expects array\\\\>, array\\\\>\\|string\\|null\\>\\> given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$str of function strtok expects string, array\\|string given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$str of function strtok expects string, string\\|false given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\\\>\\|string given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\|string given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#2 \\$composer of method Composer\\\\Command\\\\ShowCommand\\:\\:findLatestPackage\\(\\) expects Composer\\\\Composer, Composer\\\\Composer\\|null given\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#2 \\$literals of method Composer\\\\DependencyResolver\\\\DefaultPolicy\\:\\:selectPreferredPackages\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, array\\|string given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Parameter \\#3 \\$preferredStability of method Composer\\\\Package\\\\Version\\\\VersionSelector\\:\\:findBestCandidate\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Command/ShowCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 9 path: ../src/Composer/Command/ShowCommand.php - message: "#^Variable method call on Composer\\\\Package\\\\CompletePackageInterface\\.$#" count: 2 path: ../src/Composer/Command/ShowCommand.php - message: "#^Only booleans are allowed in &&, array\\\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\>\\> given\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 2 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\>\\> given\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\ given\\.$#" count: 2 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in an if condition, array\\\\>\\> given\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 2 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\\\>\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Only booleans are allowed in \\|\\|, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/Command/StatusCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Command/StatusCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/SuggestsCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Command/SuggestsCommand.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/UpdateCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Command/UpdateCommand.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Command/UpdateCommand.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Command/UpdateCommand.php - message: "#^Only booleans are allowed in an elseif condition, array\\ given\\.$#" count: 3 path: ../src/Composer/Command/ValidateCommand.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 5 path: ../src/Composer/Command/ValidateCommand.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Command/ValidateCommand.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Compiler.php - message: "#^Parameter \\#1 \\$source of method Composer\\\\Compiler\\:\\:stripWhitespace\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Compiler.php - message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Compiler.php - message: "#^Parameter \\#2 \\$contents of method Phar\\:\\:addFromString\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Compiler.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replace\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Compiler.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Config.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Config.php - message: "#^Casting to bool something that's already bool\\.$#" count: 1 path: ../src/Composer/Config.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Config.php - message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#" count: 1 path: ../src/Composer/Config.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Config.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Config.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/Config/JsonConfigSource.php - message: "#^Parameter \\#1 \\$contents of class Composer\\\\Json\\\\JsonManipulator constructor expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Config/JsonConfigSource.php - message: "#^Parameter \\#1 \\$function of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{Composer\\\\Json\\\\JsonManipulator, string\\} given\\.$#" count: 1 path: ../src/Composer/Config/JsonConfigSource.php - message: "#^Only booleans are allowed in &&, array\\\\|int\\|string\\> given on the left side\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in &&, array\\\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 2 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in \\|\\|, string\\|false given on the left side\\.$#" count: 2 path: ../src/Composer/Console/Application.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Parameter \\#1 \\$name of method Symfony\\\\Component\\\\Console\\\\Application\\:\\:has\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Parameter \\#2 \\$file of method Composer\\\\Console\\\\GithubActionError\\:\\:emit\\(\\) expects string\\|null, string\\|false given\\.$#" count: 1 path: ../src/Composer/Console/Application.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Console/Application.php - message: "#^Only booleans are allowed in &&, int\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Console/GithubActionError.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Console/GithubActionError.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Console/GithubActionError.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Console/GithubActionError.php - message: "#^Only booleans are allowed in an elseif condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Console/GithubActionError.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Decisions.php - message: "#^Method Composer\\\\DependencyResolver\\\\Decisions\\:\\:key\\(\\) should return int\\|null but returns int\\|string\\|null\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Decisions.php - message: "#^Only booleans are allowed in a ternary operator condition, Composer\\\\DependencyResolver\\\\Pool\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Decisions.php - message: "#^Return type \\(array\\{int, Composer\\\\DependencyResolver\\\\Rule\\}\\|false\\) of method Composer\\\\DependencyResolver\\\\Decisions\\:\\:current\\(\\) should be covariant with return type \\(array\\{int, Composer\\\\DependencyResolver\\\\Rule\\}\\) of method Iterator\\\\>\\:\\:current\\(\\)$#" count: 1 path: ../src/Composer/DependencyResolver/Decisions.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/DefaultPolicy.php - message: "#^Cannot access offset 'hash' on array\\|false\\.$#" count: 1 path: ../src/Composer/DependencyResolver/GenericRule.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/LockTransaction.php - message: "#^Cannot access offset 'hash' on array\\|false\\.$#" count: 1 path: ../src/Composer/DependencyResolver/MultiConflictRule.php - message: "#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Pool.php - message: "#^Cannot call method getPackages\\(\\) on Composer\\\\Repository\\\\LockArrayRepository\\|null\\.$#" count: 2 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 2 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\EventDispatcher\\\\EventDispatcher\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Parameter \\#4 \\$index of method Composer\\\\DependencyResolver\\\\PoolBuilder\\:\\:removeLoadedPackage\\(\\) expects int, int\\|string given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolBuilder.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolOptimizer.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/PoolOptimizer.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 4 path: ../src/Composer/DependencyResolver/PoolOptimizer.php - message: "#^Cannot call method getRepoName\\(\\) on Composer\\\\Repository\\\\RepositoryInterface\\|null\\.$#" count: 3 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Cannot call method getRepository\\(\\) on Composer\\\\Package\\\\PackageInterface\\|false\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in &&, Composer\\\\DependencyResolver\\\\Pool\\|null given on the left side\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in &&, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in a ternary operator condition, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in a ternary operator condition, string given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 5 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, array\\\\> given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\> given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Problem.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\LockArrayRepository\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Request.php - message: "#^Foreach overwrites \\$literal with its value variable\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Method Composer\\\\DependencyResolver\\\\Rule\\:\\:getReason\\(\\) should return 2\\|3\\|6\\|7\\|10\\|12\\|13\\|14 but returns int\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in &&, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in &&, array\\ given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in a negated boolean, int given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\LockArrayRepository\\|null given\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Parameter \\#1 \\$literal of method Composer\\\\DependencyResolver\\\\Pool\\:\\:literalToPackage\\(\\) expects int, int\\|null given\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Parameter \\#1 \\$packages of static method Composer\\\\DependencyResolver\\\\Problem\\:\\:getPackageList\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Rule.php - message: "#^Only booleans are allowed in &&, Composer\\\\DependencyResolver\\\\Pool\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSet.php - message: "#^Only booleans are allowed in &&, Composer\\\\DependencyResolver\\\\Request\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSet.php - message: "#^Only booleans are allowed in &&, Composer\\\\Repository\\\\RepositorySet\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSet.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\DependencyResolver\\\\Rule\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetGenerator.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetGenerator.php - message: "#^Parameter \\#3 \\$reasonData of class Composer\\\\DependencyResolver\\\\GenericRule constructor expects array\\{package\\: Composer\\\\Package\\\\BasePackage\\}\\|array\\{packageName\\: string, constraint\\: Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\}\\|Composer\\\\Package\\\\BasePackage\\|Composer\\\\Package\\\\Link\\|int\\|string, array\\{package\\: Composer\\\\Package\\\\BasePackage\\}\\|array\\{packageName\\: string, constraint\\: Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\}\\|Composer\\\\Package\\\\BasePackage\\|Composer\\\\Package\\\\Link\\|int\\|string\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetGenerator.php - message: "#^Parameter \\#4 \\$reasonData of class Composer\\\\DependencyResolver\\\\Rule2Literals constructor expects array\\{package\\: Composer\\\\Package\\\\BasePackage\\}\\|array\\{packageName\\: string, constraint\\: Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\}\\|Composer\\\\Package\\\\BasePackage\\|Composer\\\\Package\\\\Link\\|int\\|string, array\\{package\\: Composer\\\\Package\\\\BasePackage\\}\\|array\\{packageName\\: string, constraint\\: Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\}\\|Composer\\\\Package\\\\BasePackage\\|Composer\\\\Package\\\\Link\\|int\\|string\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetGenerator.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetGenerator.php - message: "#^Return type \\(\\-1\\|0\\|1\\|4\\) of method Composer\\\\DependencyResolver\\\\RuleSetIterator\\:\\:key\\(\\) should be covariant with return type \\(0\\|1\\|4\\) of method Iterator\\\\:\\:key\\(\\)$#" count: 1 path: ../src/Composer/DependencyResolver/RuleSetIterator.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Foreach overwrites \\$literal with its value variable\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in &&, Composer\\\\DependencyResolver\\\\Rule\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\> given on the right side\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in a negated boolean, int given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\DependencyResolver\\\\Rule\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\> given\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#1 \\$literal of method Composer\\\\DependencyResolver\\\\Decisions\\:\\:decide\\(\\) expects int, int\\|string given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#1 \\$literals of class Composer\\\\DependencyResolver\\\\GenericRule constructor expects list\\, non\\-empty\\-list\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#1 \\$number of function abs expects int, int\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#1 \\$rule of method Composer\\\\DependencyResolver\\\\Problem\\:\\:addRule\\(\\) expects Composer\\\\DependencyResolver\\\\Rule, Composer\\\\DependencyResolver\\\\Rule\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#2 \\$literal of method Composer\\\\DependencyResolver\\\\Solver\\:\\:setPropagateLearn\\(\\) expects int\\|string, int\\|null given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Parameter \\#2 \\$presentMap of class Composer\\\\DependencyResolver\\\\LockTransaction constructor expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Solver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/SolverProblemsException.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Transaction.php - message: "#^Only booleans are allowed in &&, array given on the right side\\.$#" count: 1 path: ../src/Composer/DependencyResolver/Transaction.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\> given\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Transaction.php - message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\> given on the right side\\.$#" count: 2 path: ../src/Composer/DependencyResolver/Transaction.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Cannot call method remove\\(\\) on Composer\\\\Downloader\\\\DownloaderInterface\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Method Composer\\\\Downloader\\\\DownloadManager\\:\\:getDownloaderType\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Only booleans are allowed in &&, Composer\\\\Package\\\\PackageInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Downloader\\\\DownloaderInterface\\|null given\\.$#" count: 4 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Downloader\\\\DownloaderInterface\\|null given\\.$#" count: 4 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Parameter \\#1 \\$downloader of method Composer\\\\Downloader\\\\DownloadManager\\:\\:getDownloaderType\\(\\) expects Composer\\\\Downloader\\\\DownloaderInterface, Composer\\\\Downloader\\\\DownloaderInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/DownloadManager.php - message: "#^Parameter \\#1 \\$type of method Composer\\\\Downloader\\\\DownloadManager\\:\\:getDownloader\\(\\) expects string, string\\|null given\\.$#" count: 2 path: ../src/Composer/Downloader/DownloadManager.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/DownloadManager.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Foreach overwrites \\$path with its value variable\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Method Composer\\\\Downloader\\\\FileDownloader\\:\\:getDistPath\\(\\) should return string but returns array\\\\|string\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in &&, Composer\\\\Cache\\|null given on the left side\\.$#" count: 4 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in a negated boolean, int given\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 2 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\EventDispatcher\\\\EventDispatcher\\|null given\\.$#" count: 2 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, Exception\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, array\\\\> given\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|null 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: 3 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Strict comparison using \\=\\=\\= between null and Composer\\\\Util\\\\Http\\\\Response will always evaluate to false\\.$#" count: 1 path: ../src/Composer/Downloader/FileDownloader.php - message: "#^Parameter \\#3 \\$cwd of method Composer\\\\Util\\\\ProcessExecutor\\:\\:execute\\(\\) expects string\\|null, string\\|false given\\.$#" count: 5 path: ../src/Composer/Downloader/FossilDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 5 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Foreach overwrites \\$match with its value variable\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 2 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 2 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Parameter \\#1 \\$reference of method Composer\\\\Downloader\\\\GitDownloader\\:\\:getShortHash\\(\\) expects string, string\\|null given\\.$#" count: 4 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Parameter \\#3 \\$ref of method Composer\\\\Util\\\\Git\\:\\:fetchRefOrSyncMirror\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/GitDownloader.php - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Downloader/GzipDownloader.php - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Downloader/GzipDownloader.php - message: "#^Parameter \\#1 \\$path of function pathinfo expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/GzipDownloader.php - message: "#^Parameter \\#1 \\$zp of function gzclose expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Downloader/GzipDownloader.php - message: "#^Parameter \\#1 \\$zp 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\\>, int given\\.$#" count: 1 path: ../src/Composer/Downloader/GzipDownloader.php - message: "#^Parameter \\#3 \\$cwd of method Composer\\\\Util\\\\ProcessExecutor\\:\\:execute\\(\\) expects string\\|null, string\\|false given\\.$#" count: 3 path: ../src/Composer/Downloader/HgDownloader.php - message: "#^Only booleans are allowed in an if condition, array\\\\|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\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method connectClient\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method getCommitLogs\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method p4Login\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method setStream\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method syncCodeBase\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Cannot call method writeP4ClientSpec\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Parameter \\#1 \\$repoConfig of static method Composer\\\\Util\\\\Perforce\\:\\:create\\(\\) expects array\\{unique_perforce_client_name\\?\\: string, depot\\?\\: string, branch\\?\\: string, p4user\\?\\: string, p4password\\?\\: string\\}, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/PerforceDownloader.php - message: "#^Parameter \\#1 \\$version1 of function version_compare expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/SvnDownloader.php - message: "#^Cannot call method getUniqueName\\(\\) on Composer\\\\Package\\\\PackageInterface\\|null\\.$#" count: 3 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Method Composer\\\\Downloader\\\\VcsDownloader\\:\\:prepareUrls\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in &&, Exception\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in a negated boolean, Exception\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\> given\\.$#" count: 2 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 3 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in an elseif condition, int\\<0, max\\> given\\.$#" count: 3 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Parameter \\#1 \\$fromReference of method Composer\\\\Downloader\\\\VcsDownloader\\:\\:getCommitLogs\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Parameter \\#1 \\$package of method Composer\\\\Downloader\\\\VcsDownloader\\:\\:cleanChanges\\(\\) expects Composer\\\\Package\\\\PackageInterface, Composer\\\\Package\\\\PackageInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Parameter \\#2 \\$toReference of method Composer\\\\Downloader\\\\VcsDownloader\\:\\:getCommitLogs\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/VcsDownloader.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 3 path: ../src/Composer/Downloader/ZipDownloader.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\> given\\.$#" count: 3 path: ../src/Composer/Downloader/ZipDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Downloader/ZipDownloader.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/ZipDownloader.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Cannot access offset 0 on array\\{0\\: string, 1\\?\\: int\\}\\|int\\|string\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Casting to bool something that's already bool\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Dynamic call to static method Composer\\\\EventDispatcher\\\\EventSubscriberInterface\\:\\:getSubscribedEvents\\(\\)\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in a negated boolean, array\\<\\(callable\\)\\|string\\> given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in a ternary operator condition, array given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Autoload\\\\ClassLoader\\|null given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 2 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Parameter \\#1 \\$str of function preg_quote expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Parameter \\#2 \\$listener of method Composer\\\\EventDispatcher\\\\EventDispatcher\\:\\:addListener\\(\\) expects \\(callable\\(\\)\\: mixed\\)\\|string, array\\{Composer\\\\EventDispatcher\\\\EventSubscriberInterface, string\\} given\\.$#" count: 3 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Parameter \\#3 \\$length of function substr expects int, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Parameter \\#3 \\$priority of method Composer\\\\EventDispatcher\\\\EventDispatcher\\:\\:addListener\\(\\) expects int, array\\\\|int\\|string given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Parameter \\#3 \\$priority of method Composer\\\\EventDispatcher\\\\EventDispatcher\\:\\:addListener\\(\\) expects int, int\\|string given\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Variable static method call on string\\.$#" count: 1 path: ../src/Composer/EventDispatcher/EventDispatcher.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 3 path: ../src/Composer/Factory.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 3 path: ../src/Composer/Factory.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Util\\\\ProcessExecutor\\|null given\\.$#" count: 1 path: ../src/Composer/Factory.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 2 path: ../src/Composer/Factory.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 6 path: ../src/Composer/Factory.php - message: "#^Parameter \\#1 \\$path of class Composer\\\\Json\\\\JsonFile constructor expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Factory.php - message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Factory.php - message: "#^Parameter \\#4 \\$composerFileContents of class Composer\\\\Package\\\\Locker constructor expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Factory.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../src/Composer/Factory.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/IO/BaseIO.php - message: "#^Only booleans are allowed in a ternary operator condition, Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatterInterface\\|null given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^PHPDoc type Symfony\\\\Component\\\\Console\\\\Input\\\\StringInput of property Composer\\\\IO\\\\BufferIO\\:\\:\\$input is not the same as PHPDoc type Symfony\\\\Component\\\\Console\\\\Input\\\\InputInterface of overridden property Composer\\\\IO\\\\ConsoleIO\\:\\:\\$input\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^PHPDoc type Symfony\\\\Component\\\\Console\\\\Output\\\\StreamOutput of property Composer\\\\IO\\\\BufferIO\\:\\:\\$output is not the same as PHPDoc type Symfony\\\\Component\\\\Console\\\\Output\\\\OutputInterface of overridden property Composer\\\\IO\\\\ConsoleIO\\:\\:\\$output\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#1 \\$fp of function rewind expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#1 \\$stream of class Symfony\\\\Component\\\\Console\\\\Output\\\\StreamOutput constructor expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#1 \\$stream of method Symfony\\\\Component\\\\Console\\\\Input\\\\Input\\:\\:setStream\\(\\) expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replaceCallback\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/IO/BufferIO.php - message: "#^Parameter \\#1 \\$attempts of method Symfony\\\\Component\\\\Console\\\\Question\\\\Question\\:\\:setMaxAttempts\\(\\) expects int\\|null, int\\\\|int\\<1, max\\>\\|true\\|null given\\.$#" count: 1 path: ../src/Composer/IO/ConsoleIO.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/IO/ConsoleIO.php - message: "#^Call to function method_exists\\(\\) with 'Composer\\\\\\\\Autoload…' and 'getRegisteredLoaders' will always evaluate to true\\.$#" count: 1 path: ../src/Composer/InstalledVersions.php - message: "#^Cannot call method getPackages\\(\\) on Composer\\\\Repository\\\\LockArrayRepository\\|null\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Cannot call method getPackages\\(\\) on Composer\\\\Repository\\\\RepositoryInterface\\|null\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Casting to bool something that's already bool\\.$#" count: 15 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in &&, array\\\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in &&, array\\\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\LockArrayRepository\\|null given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\LockArrayRepository\\|null given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\RepositoryInterface\\|null given\\.$#" count: 2 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 5 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in \\|\\|, array\\\\|null given on the left side\\.$#" count: 2 path: ../src/Composer/Installer.php - message: "#^Parameter \\#2 \\$stabilityFlags of class Composer\\\\Repository\\\\RepositorySet constructor expects array\\, non\\-empty\\-array\\ given\\.$#" count: 1 path: ../src/Composer/Installer.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Installer.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 2 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#1 \\$binPath of method Composer\\\\Installer\\\\BinaryInstaller\\:\\:installFullBinaries\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#1 \\$binPath of method Composer\\\\Installer\\\\BinaryInstaller\\:\\:installUnixyProxyBinaries\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#1 \\$fp of function fgets expects resource, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#1 \\$path of function realpath expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:isMatch\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Property Composer\\\\Installer\\\\BinaryInstaller\\:\\:\\$binDir \\(string\\) does not accept string\\|false\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Installer/BinaryInstaller.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Foreach overwrites \\$batch with its value variable\\.$#" count: 2 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in &&, Composer\\\\EventDispatcher\\\\EventDispatcher\\|null given on the right side\\.$#" count: 2 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in &&, array given on the right side\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in an if condition, Symfony\\\\Component\\\\Console\\\\Helper\\\\ProgressBar\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 4 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\> given\\.$#" count: 2 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Parameter \\#2 \\$offset of function array_splice expects int, int\\|string given\\.$#" count: 1 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Variable method call on \\$this\\(Composer\\\\Installer\\\\InstallationManager\\)\\.$#" count: 2 path: ../src/Composer/Installer/InstallationManager.php - message: "#^Only booleans are allowed in a ternary operator condition, string given\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Property Composer\\\\Installer\\\\LibraryInstaller\\:\\:\\$type \\(string\\) does not accept string\\|null\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Property Composer\\\\Installer\\\\LibraryInstaller\\:\\:\\$vendorDir \\(string\\) does not accept string\\|false\\.$#" count: 1 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Installer/LibraryInstaller.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Installer/NoopInstaller.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Installer/PluginInstaller.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Foreach overwrites \\$suggesters with its value variable\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in &&, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#" count: 2 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\PackageInterface\\|null given\\.$#" count: 2 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, array given\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, int\\<0, 1\\> given\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, int\\<0, 2\\> given\\.$#" count: 2 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in an if condition, int\\<0, 4\\> given\\.$#" count: 1 path: ../src/Composer/Installer/SuggestedPackagesReporter.php - message: "#^Only booleans are allowed in &&, Composer\\\\IO\\\\IOInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Json/JsonFile.php - message: "#^Only booleans are allowed in a ternary operator condition, int\\<0, 128\\> given\\.$#" count: 1 path: ../src/Composer/Json/JsonFile.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Util\\\\HttpDownloader\\|null given\\.$#" count: 1 path: ../src/Composer/Json/JsonFile.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Json/JsonFile.php - message: "#^Parameter \\#1 \\$json of static method Composer\\\\Json\\\\JsonFile\\:\\:validateSyntax\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Json/JsonFile.php - message: "#^Only booleans are allowed in an if condition, int\\<0, 1\\> given\\.$#" count: 1 path: ../src/Composer/Json/JsonFormatter.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Json/JsonManipulator.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 5 path: ../src/Composer/Json/JsonManipulator.php - message: "#^Foreach overwrites \\$match with its value variable\\.$#" count: 1 path: ../src/Composer/Json/JsonManipulator.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Json/JsonManipulator.php - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 4 path: ../src/Composer/Json/JsonManipulator.php - message: "#^Casting to string something that's already string\\.$#" count: 1 path: ../src/Composer/Json/JsonValidationException.php - message: "#^Variable method call on Composer\\\\Package\\\\BasePackage\\.$#" count: 1 path: ../src/Composer/Package/AliasPackage.php - message: "#^Variable property access on \\$this\\(Composer\\\\Package\\\\AliasPackage\\)\\.$#" count: 1 path: ../src/Composer/Package/AliasPackage.php - message: "#^Call to function method_exists\\(\\) with Closure\\(SplFileInfo\\)\\: bool and 'bindTo' will always evaluate to true\\.$#" 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: 1 path: ../src/Composer/Package/Archiver/ArchivableFilesFinder.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Package/Archiver/ArchiveManager.php - message: "#^Parameter \\#1 \\$directory of method Composer\\\\Util\\\\Filesystem\\:\\:removeDirectory\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/ArchiveManager.php - message: "#^Parameter \\#1 \\$sources of method Composer\\\\Package\\\\Archiver\\\\ArchiverInterface\\:\\:archive\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/ArchiveManager.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/BaseExcludeFilter.php - message: "#^Parameter \\#1 \\$lines of method Composer\\\\Package\\\\Archiver\\\\BaseExcludeFilter\\:\\:parseLines\\(\\) expects array\\, array\\\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/GitExcludeFilter.php - message: "#^Dynamic call to static method Phar\\:\\:canCompress\\(\\)\\.$#" count: 1 path: ../src/Composer/Package/Archiver/PharArchiver.php - message: "#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Archiver/PharArchiver.php - message: "#^Parameter \\#1 \\$sources of class Composer\\\\Package\\\\Archiver\\\\ArchivableFilesFinder constructor expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/PharArchiver.php - message: "#^Parameter \\#2 \\$baseDirectory of method Phar\\:\\:buildFromIterator\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/PharArchiver.php - message: "#^Parameter \\#2 \\$sources of method Composer\\\\Package\\\\Archiver\\\\ArchivableFilesFilter\\:\\:addEmptyDir\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Archiver/PharArchiver.php - message: "#^Call to function method_exists\\(\\) with ZipArchive and 'setExternalAttribut…' will always evaluate to true\\.$#" count: 1 path: ../src/Composer/Package/Archiver/ZipArchiver.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Package/BasePackage.php - message: "#^Only booleans are allowed in &&, Composer\\\\Repository\\\\RepositoryInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Package/BasePackage.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Package/Comparer/Comparer.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Comparer/Comparer.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, 3\\> given\\.$#" count: 1 path: ../src/Composer/Package/Comparer/Comparer.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\> given\\.$#" count: 1 path: ../src/Composer/Package/Comparer/Comparer.php - message: "#^Only booleans are allowed in an if condition, resource\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Comparer/Comparer.php - message: "#^PHPDoc type Composer\\\\Package\\\\CompletePackage of property Composer\\\\Package\\\\CompleteAliasPackage\\:\\:\\$aliasOf is not the same as PHPDoc type Composer\\\\Package\\\\BasePackage of overridden property Composer\\\\Package\\\\AliasPackage\\:\\:\\$aliasOf\\.$#" count: 1 path: ../src/Composer/Package/CompleteAliasPackage.php - message: "#^Only booleans are allowed in an if condition, array\\\\>\\|null given\\.$#" count: 2 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 4 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Parameter \\#1 \\$array_arg of function ksort expects array, array\\\\|string given\\.$#" count: 1 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Variable method call on Composer\\\\Package\\\\PackageInterface\\.$#" count: 2 path: ../src/Composer/Package/Dumper/ArrayDumper.php - message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 10 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Instanceof between Composer\\\\Package\\\\CompletePackage and Composer\\\\Package\\\\CompletePackageInterface will always evaluate to true\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\Version\\\\VersionParser\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Variable method call on Composer\\\\Package\\\\CompletePackage\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Variable method call on Composer\\\\Package\\\\PackageInterface\\.$#" count: 1 path: ../src/Composer/Package/Loader/ArrayLoader.php - message: "#^Parameter \\#1 \\$json of static method Composer\\\\Json\\\\JsonFile\\:\\:parseJson\\(\\) expects string\\|null, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Loader/JsonLoader.php - message: "#^Only booleans are allowed in an elseif condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Parameter \\#1 \\$requires of method Composer\\\\Package\\\\Loader\\\\RootPackageLoader\\:\\:extractAliases\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Parameter \\#1 \\$requires of static method Composer\\\\Package\\\\Loader\\\\RootPackageLoader\\:\\:extractReferences\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Parameter \\#1 \\$requires of static method Composer\\\\Package\\\\Loader\\\\RootPackageLoader\\:\\:extractStabilityFlags\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Parameter \\#2 \\$class \\(class\\-string\\\\) of method Composer\\\\Package\\\\Loader\\\\RootPackageLoader\\:\\:load\\(\\) should be contravariant with parameter \\$class \\(class\\-string\\\\) of method Composer\\\\Package\\\\Loader\\\\ArrayLoader\\:\\:load\\(\\)$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Parameter \\#2 \\$class \\(class\\-string\\\\) of method Composer\\\\Package\\\\Loader\\\\RootPackageLoader\\:\\:load\\(\\) should be contravariant with parameter \\$class \\(class\\-string\\\\) of method Composer\\\\Package\\\\Loader\\\\LoaderInterface\\:\\:load\\(\\)$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Variable method call on Composer\\\\Package\\\\RootPackage\\.$#" count: 1 path: ../src/Composer/Package/Loader/RootPackageLoader.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 8 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, array given on the right side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, int\\<0, 1\\> given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, int\\<0, 2\\> given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\> given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Loader/ValidatingArrayLoader.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Package/Locker.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 5 path: ../src/Composer/Package/Locker.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Locker.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 2 path: ../src/Composer/Package/Locker.php - message: "#^Only booleans are allowed in a ternary operator condition, DateTime\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Locker.php - message: "#^Parameter \\#1 \\$aliasOf of class Composer\\\\Package\\\\CompleteAliasPackage constructor expects Composer\\\\Package\\\\CompletePackage, Composer\\\\Package\\\\CompleteAliasPackage\\|Composer\\\\Package\\\\CompletePackage given\\.$#" count: 1 path: ../src/Composer/Package/Locker.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Package/Locker.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^Only booleans are allowed in an elseif condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^Only booleans are allowed in an if condition, array\\\\>\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replace\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Package/Package.php - message: "#^PHPDoc type Composer\\\\Package\\\\RootPackage of property Composer\\\\Package\\\\RootAliasPackage\\:\\:\\$aliasOf is not the same as PHPDoc type Composer\\\\Package\\\\CompletePackage of overridden property Composer\\\\Package\\\\CompleteAliasPackage\\:\\:\\$aliasOf\\.$#" count: 1 path: ../src/Composer/Package/RootAliasPackage.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 2 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:isMatch\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replace\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionGuesser.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionParser.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionSelector.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionSelector.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\PlatformRepository\\|null given\\.$#" count: 1 path: ../src/Composer/Package/Version/VersionSelector.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../src/Composer/Platform/HhvmDetector.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Platform/Runtime.php - message: "#^Method Composer\\\\Platform\\\\Runtime\\:\\:getExtensionInfo\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: ../src/Composer/Platform/Runtime.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in &&, Composer\\\\Repository\\\\InstalledRepositoryInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\ given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\PackageInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\InstalledRepositoryInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replace\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Plugin/PluginManager.php - message: "#^Property Composer\\\\Plugin\\\\PostFileDownloadEvent\\:\\:\\$fileName \\(string\\) does not accept string\\|null\\.$#" count: 1 path: ../src/Composer/Plugin/PostFileDownloadEvent.php - message: "#^Casting to bool something that's already bool\\.$#" count: 1 path: ../src/Composer/Question/StrictConfirmationQuestion.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Question/StrictConfirmationQuestion.php - message: "#^Method Composer\\\\Repository\\\\ArrayRepository\\:\\:getProviders\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Repository/ArrayRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ArrayRepository.php - message: "#^Parameter \\#1 \\$input of function array_splice expects array, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ArrayRepository.php - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ArrayRepository.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Repository/ArrayRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ArtifactRepository.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 24 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:filterPackages\\(\\) should return array\\\\|Composer\\\\Package\\\\BasePackage\\|null but returns Composer\\\\Package\\\\BasePackage\\|false\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:findPackage\\(\\) should return Composer\\\\Package\\\\BasePackage\\|null but returns array\\\\|Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 2 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:findPackages\\(\\) should return array\\ but returns array\\\\|Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 2 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:getProviders\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:getProviders\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Method Composer\\\\Repository\\\\ComposerRepository\\:\\:whatProvides\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 2 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 6 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a negated boolean, array given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 2 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in an elseif condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\EventDispatcher\\\\EventDispatcher\\|null given\\.$#" count: 6 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 3 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 12 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in \\|\\|, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#" count: 3 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/ComposerRepository.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\> given\\.$#" count: 3 path: ../src/Composer/Repository/CompositeRepository.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\>\\> given\\.$#" count: 1 path: ../src/Composer/Repository/CompositeRepository.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\> given\\.$#" count: 1 path: ../src/Composer/Repository/CompositeRepository.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\RootPackageInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Parameter \\#1 \\$path of method Composer\\\\Util\\\\Filesystem\\:\\:normalizePath\\(\\) expects string, string\\|false given\\.$#" count: 2 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Parameter \\#2 \\$installPaths of method Composer\\\\Repository\\\\FilesystemRepository\\:\\:generateInstalledVersions\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../src/Composer/Repository/FilesystemRepository.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/FilterRepository.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/FilterRepository.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Repository/FilterRepository.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 2 path: ../src/Composer/Repository/FilterRepository.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/FilterRepository.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 7 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Foreach overwrites \\$needle with its value variable\\.$#" count: 2 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Only booleans are allowed in &&, Composer\\\\Semver\\\\Constraint\\\\ConstraintInterface\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Only booleans are allowed in a ternary operator condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Only booleans are allowed in an if condition, \\(Composer\\\\Package\\\\BasePackage&Composer\\\\Package\\\\RootPackageInterface\\)\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/InstalledRepository.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Repository/PathRepository.php - message: "#^Constructor of class Composer\\\\Repository\\\\PathRepository has an unused parameter \\$dispatcher\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Constructor of class Composer\\\\Repository\\\\PathRepository has an unused parameter \\$httpDownloader\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Parameter \\#1 \\$json of static method Composer\\\\Json\\\\JsonFile\\:\\:parseJson\\(\\) expects string\\|null, string\\|false given\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|false given\\.$#" count: 1 path: ../src/Composer/Repository/PathRepository.php - message: "#^Composer\\\\Repository\\\\PearRepository\\:\\:__construct\\(\\) does not call parent constructor from Composer\\\\Repository\\\\ArrayRepository\\.$#" count: 1 path: ../src/Composer/Repository/PearRepository.php - message: "#^Call to an undefined method object\\:\\:getVersion\\(\\)\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Cannot call method getVersion\\(\\) on Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: """ #^Fetching deprecated class constant PLATFORM_PACKAGE_REGEX of class Composer\\\\Repository\\\\PlatformRepository\\: use PlatformRepository\\:\\:isPlatformPackage\\(string \\$name\\) instead$# """ count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Parameter \\#1 \\$override of method Composer\\\\Repository\\\\PlatformRepository\\:\\:addOverriddenPackage\\(\\) expects array\\{version\\: string, name\\: string\\}, array\\{name\\: string, version\\: string\\|false\\} given\\.$#" count: 1 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../src/Composer/Repository/PlatformRepository.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Repository/RepositoryFactory.php - message: "#^Method Composer\\\\Repository\\\\RepositoryFactory\\:\\:createRepo\\(\\) should return Composer\\\\Repository\\\\RepositoryInterface but returns Composer\\\\Repository\\\\RepositoryInterface\\|false\\.$#" count: 1 path: ../src/Composer/Repository/RepositoryFactory.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\RepositoryManager\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/RepositoryFactory.php - message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Repository/RepositoryFactory.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/RepositoryManager.php - message: "#^Foreach overwrites \\$repo with its value variable\\.$#" count: 1 path: ../src/Composer/Repository/RepositorySet.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\> given\\.$#" count: 1 path: ../src/Composer/Repository/RepositorySet.php - message: "#^Only booleans are allowed in an if condition, array\\\\> given\\.$#" count: 1 path: ../src/Composer/Repository/RepositorySet.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Repository/RepositorySet.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/FossilDriver.php - message: "#^Parameter \\#1 \\$file of method Composer\\\\Util\\\\Filesystem\\:\\:remove\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/FossilDriver.php - message: "#^Parameter \\#1 \\$filename of function is_file expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/FossilDriver.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Cannot call method read\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Cannot call method write\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 4 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Method Composer\\\\Repository\\\\Vcs\\\\GitBitbucketDriver\\:\\:getSource\\(\\) should return array\\{type\\: string, url\\: string, reference\\: string\\} but returns array\\{type\\: string\\|null, url\\: string, reference\\: string\\}\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\Vcs\\\\VcsDriver\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\Vcs\\\\VcsDriver\\|null given\\.$#" count: 10 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitBitbucketDriver.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitDriver.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 3 path: ../src/Composer/Repository/Vcs/GitDriver.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitDriver.php - message: "#^Parameter \\#1 \\$url of static method Composer\\\\Util\\\\Url\\:\\:sanitize\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitDriver.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Cannot call method read\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Cannot call method write\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 5 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Foreach overwrites \\$key with its key variable\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in &&, array\\\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in a negated boolean, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, max\\> given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\Vcs\\\\GitDriver\\|null given\\.$#" count: 8 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in an if condition, array given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in an if condition, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Parameter \\#1 \\$headers of method Composer\\\\Util\\\\GitHub\\:\\:getRateLimit\\(\\) expects array\\, array\\\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitHubDriver.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 5 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Cannot call method read\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Cannot call method write\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\Vcs\\\\GitDriver\\|null given\\.$#" count: 8 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Parameter \\#2 \\$str of function explode expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/GitLabDriver.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 3 path: ../src/Composer/Repository/Vcs/HgDriver.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/HgDriver.php - message: "#^Cannot call method checkStream\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method cleanupClientSpec\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method connectClient\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method getBranches\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method getComposerInformation\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method getFileContent\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method getTags\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method getUser\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method p4Login\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method writeP4ClientSpec\\(\\) on Composer\\\\Util\\\\Perforce\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Repository/Vcs/PerforceDriver.php - message: "#^Cannot call method read\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Cannot call method write\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 2 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Method Composer\\\\Repository\\\\Vcs\\\\SvnDriver\\:\\:getRootIdentifier\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Only booleans are allowed in &&, Composer\\\\Cache\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 4 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 3 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/SvnDriver.php - message: "#^Cannot call method read\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Cannot call method write\\(\\) on Composer\\\\Cache\\|null\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Only booleans are allowed in &&, Composer\\\\Cache\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/Vcs/VcsDriver.php - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Cannot call method load\\(\\) on Composer\\\\Package\\\\Loader\\\\LoaderInterface\\|null\\.$#" count: 3 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Package\\\\Loader\\\\LoaderInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\Vcs\\\\VcsDriverInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Repository\\\\VersionCacheInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 3 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\BasePackage\\|null given\\.$#" count: 2 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Package\\\\CompleteAliasPackage\\|Composer\\\\Package\\\\CompletePackage\\|false\\|null given\\.$#" count: 2 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Repository\\\\Vcs\\\\VcsDriverInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in an if condition, array\\|null given\\.$#" count: 2 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Parameter \\#1 \\$object of function get_class expects object, Composer\\\\Repository\\\\Vcs\\\\VcsDriverInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 6 path: ../src/Composer/Repository/VcsRepository.php - message: "#^Only booleans are allowed in &&, Composer\\\\EventDispatcher\\\\Event\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Script/Event.php - message: "#^Parameter \\#2 \\$args of method Composer\\\\EventDispatcher\\\\Event\\:\\:__construct\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: ../src/Composer/Script/Event.php - message: "#^Parameter \\#3 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:replace\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/SelfUpdate/Keys.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/SelfUpdate/Versions.php - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/SelfUpdate/Versions.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/SelfUpdate/Versions.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Config\\\\ConfigSourceInterface\\|false given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Parameter \\#1 \\$scheme of method Composer\\\\Util\\\\GitLab\\:\\:authorizeOAuthInteractively\\(\\) expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Parameter \\#2 \\$consumerKey of method Composer\\\\Util\\\\Bitbucket\\:\\:requestToken\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Parameter \\#2 \\$str of function explode expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Parameter \\#3 \\$consumerSecret of method Composer\\\\Util\\\\Bitbucket\\:\\:requestToken\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/AuthHelper.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/Bitbucket.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 2 path: ../src/Composer/Util/Bitbucket.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Bitbucket.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Util/Bitbucket.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/ComposerMirror.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 4 path: ../src/Composer/Util/ConfigValidator.php - message: "#^Only booleans are allowed in &&, array\\\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/ConfigValidator.php - message: "#^Only booleans are allowed in &&, int\\<0, 1\\> given on the left side\\.$#" count: 1 path: ../src/Composer/Util/ConfigValidator.php - message: "#^Only booleans are allowed in a negated boolean, int given\\.$#" count: 1 path: ../src/Composer/Util/ErrorHandler.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\IO\\\\IOInterface\\|null given\\.$#" count: 1 path: ../src/Composer/Util/ErrorHandler.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Only booleans are allowed in an if condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 2 path: ../src/Composer/Util/Git.php - message: "#^Parameter \\#1 \\$str of function rawurlencode expects string, string\\|null given\\.$#" count: 15 path: ../src/Composer/Util/Git.php - message: "#^Parameter \\#2 \\$consumerKey of method Composer\\\\Util\\\\Bitbucket\\:\\:requestToken\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Parameter \\#3 \\$consumerSecret of method Composer\\\\Util\\\\Bitbucket\\:\\:requestToken\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Git.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: ../src/Composer/Util/GitHub.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/GitHub.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Util/GitHub.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/GitLab.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/GitLab.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/GitLab.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Util/GitLab.php - message: "#^Parameter \\#1 \\$str of function rawurlencode expects string, string\\|null given\\.$#" count: 2 path: ../src/Composer/Util/Hg.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Cannot access offset 'features' on array\\|false\\.$#" count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Casting to string something that's already string\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Constant CURLOPT_PROXY_CAINFO not found\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Constant CURLOPT_PROXY_CAPATH not found\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in &&, int given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in &&, int\\<0, 65536\\> given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in an elseif condition, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$ch of function curl_close expects resource, CurlHandle given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$ch of function curl_getinfo expects resource, CurlHandle given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_add_handle expects resource, resource\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_exec expects resource, resource\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_info_read expects resource, resource\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_remove_handle expects resource, resource\\|null given\\.$#" count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_select expects resource, resource\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$mh of function curl_multi_setopt expects resource, resource\\|false given\\.$#" count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$str of function preg_quote expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$str of function rtrim expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#2 \\$ch of function curl_multi_remove_handle expects resource, CurlHandle given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:isMatch\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#3 \\$errorMessage of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:failResponse\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\#4 \\$body of class Composer\\\\Util\\\\Http\\\\CurlResponse constructor expects string\\|null, string\\|false given\\.$#" count: 2 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:failResponse\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:handleRedirect\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:isAuthenticatedRetryNeeded\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:rejectJob\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:restartJob\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Parameter \\$job of method Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:restartJobWithDelay\\(\\) has invalid type CurlHandle\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Property Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:\\$jobs \\(array\\, retries\\: int\\<0, max\\>, storeAuth\\: 'prompt'\\|bool\\}, options\\: array, progress\\: array, curlHandle\\: CurlHandle, filename\\: string\\|null, headerHandle\\: resource, \\.\\.\\.\\}\\>\\) does not accept non\\-empty\\-array\\, retries\\: int\\<0, max\\>, storeAuth\\: 'prompt'\\|bool\\}, options\\: array, progress\\: array, curlHandle\\: CurlHandle\\|resource, filename\\: string\\|null, headerHandle\\: resource, \\.\\.\\.\\}\\>\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Property Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:\\$jobs has unknown class CurlHandle as its type\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Property Composer\\\\Util\\\\Http\\\\CurlDownloader\\:\\:\\$multiHandle \\(resource\\|null\\) does not accept resource\\|false\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Util/Http/CurlDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Foreach overwrites \\$name with its value variable\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Implicit array creation is not allowed \\- variable \\$options does not exist\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Only booleans are allowed in a negated boolean, int\\<0, 65535\\>\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 3 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Parameter \\#1 \\$proxy of static method Composer\\\\Util\\\\Http\\\\ProxyHelper\\:\\:formatParsedUrl\\(\\) expects array\\{scheme\\?\\: string, host\\: string, port\\?\\: int, user\\?\\: string, pass\\?\\: string\\}, array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\<0, 65535\\>, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyHelper.php - message: "#^Only booleans are allowed in &&, Composer\\\\Util\\\\NoProxyPattern\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Util\\\\Http\\\\ProxyManager\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 4 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Parameter \\#3 \\$formattedUrl of class Composer\\\\Util\\\\Http\\\\RequestProxy constructor expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Util/Http/ProxyManager.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../src/Composer/Util/Http/RequestProxy.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Util/Http/RequestProxy.php - message: "#^Cannot call method abortRequest\\(\\) on Composer\\\\Util\\\\Http\\\\CurlDownloader\\|null\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Cannot call method copy\\(\\) on Composer\\\\Util\\\\RemoteFilesystem\\|null\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Cannot call method download\\(\\) on Composer\\\\Util\\\\Http\\\\CurlDownloader\\|null\\.$#" count: 2 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Cannot call method findStatusCode\\(\\) on Composer\\\\Util\\\\RemoteFilesystem\\|null\\.$#" count: 2 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Cannot call method getContents\\(\\) on Composer\\\\Util\\\\RemoteFilesystem\\|null\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Cannot call method getLastHeaders\\(\\) on Composer\\\\Util\\\\RemoteFilesystem\\|null\\.$#" count: 2 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 4 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Util\\\\Http\\\\CurlDownloader\\|null given\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Util\\\\Http\\\\CurlDownloader\\|null given\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Parameter \\#4 \\$body of class Composer\\\\Util\\\\Http\\\\Response constructor expects string\\|null, bool\\|string given\\.$#" count: 1 path: ../src/Composer/Util/HttpDownloader.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 3 path: ../src/Composer/Util/IniHelper.php - message: "#^Only booleans are allowed in &&, Symfony\\\\Component\\\\Console\\\\Helper\\\\ProgressBar\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Loop.php - message: "#^Only booleans are allowed in a negated boolean, int given\\.$#" count: 1 path: ../src/Composer/Util/Loop.php - message: "#^Only booleans are allowed in an if condition, Composer\\\\Util\\\\ProcessExecutor\\|null given\\.$#" count: 3 path: ../src/Composer/Util/Loop.php - message: "#^Only booleans are allowed in an if condition, Symfony\\\\Component\\\\Console\\\\Helper\\\\ProgressBar\\|null given\\.$#" count: 2 path: ../src/Composer/Util/Loop.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Method Composer\\\\Util\\\\NoProxyPattern\\:\\:getRule\\(\\) should return stdClass\\|null but returns object\\|null\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a negated boolean, bool\\|stdClass given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a negated boolean, stdClass\\|null given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a ternary operator condition, int\\<0, 65535\\>\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in an if condition, float given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in an if condition, int\\<\\-7, 7\\> given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in \\|\\|, mixed given on the left side\\.$#" count: 2 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Parameter \\#1 \\$binary of method Composer\\\\Util\\\\NoProxyPattern\\:\\:ipMapTo6\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Parameter \\#3 \\$length of function substr expects int, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Parameter \\#3 \\$url of method Composer\\\\Util\\\\NoProxyPattern\\:\\:match\\(\\) expects stdClass, stdClass\\|true given\\.$#" count: 1 path: ../src/Composer/Util/NoProxyPattern.php - message: "#^Only booleans are allowed in a negated boolean, array\\ given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 2 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" count: 2 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" count: 13 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#1 \\$str1 of function strcmp expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#1 \\$stream of method Composer\\\\Util\\\\Perforce\\:\\:getStreamWithoutLabel\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#2 \\$needle of function strpos expects int\\|string, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Parameter \\#3 \\$length of function substr expects int, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Perforce.php - message: "#^Cannot access offset 'dir' on array\\|false\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Casting to string something that's already string\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Only booleans are allowed in &&, array\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Platform.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../src/Composer/Util/Platform.php - message: "#^Method Composer\\\\Util\\\\ProcessExecutor\\:\\:doExecute\\(\\) should return int but returns int\\|null\\.$#" count: 1 path: ../src/Composer/Util/ProcessExecutor.php - message: "#^Property Composer\\\\Util\\\\ProcessExecutor\\:\\:\\$jobs \\(array\\\\>\\) does not accept array\\\\>\\.$#" count: 1 path: ../src/Composer/Util/ProcessExecutor.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Util/ProcessExecutor.php - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 8 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Method Composer\\\\Util\\\\RemoteFilesystem\\:\\:copy\\(\\) should return bool but returns bool\\|string\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Method Composer\\\\Util\\\\RemoteFilesystem\\:\\:get\\(\\) should return bool\\|string but returns string\\|true\\|null\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, bool\\|string given on the left side\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, int\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, string\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#" count: 2 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in an elseif condition, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 2 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in an if condition, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$httpStatus of method Composer\\\\Util\\\\RemoteFilesystem\\:\\:promptAuthAndRetry\\(\\) expects int\\<1, max\\>, int\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$originUrl of method Composer\\\\Util\\\\RemoteFilesystem\\:\\:get\\(\\) expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$result of method Composer\\\\Util\\\\RemoteFilesystem\\:\\:decodeResult\\(\\) expects string\\|false, bool\\|string given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$result of method Composer\\\\Util\\\\RemoteFilesystem\\:\\:decodeResult\\(\\) expects string\\|false, non\\-falsy\\-string\\|true given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$str of function base64_encode expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$str of function preg_quote expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$str of static method Composer\\\\Util\\\\Platform\\:\\:strlen\\(\\) expects string, string\\|false given\\.$#" count: 3 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Parameter \\#5 \\$maxlen of function file_get_contents expects int\\<0, max\\>, int given\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Property Composer\\\\Util\\\\RemoteFilesystem\\:\\:\\$scheme \\(string\\) does not accept string\\|false\\|null\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Property Composer\\\\Util\\\\RemoteFilesystem\\:\\:\\$storeAuth \\(bool\\) does not accept bool\\|string\\.$#" count: 1 path: ../src/Composer/Util/RemoteFilesystem.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Util/Silencer.php - message: "#^Cannot access offset 'version' on array\\|false\\.$#" count: 1 path: ../src/Composer/Util/StreamContextFactory.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/StreamContextFactory.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/StreamContextFactory.php - message: "#^Only booleans are allowed in an if condition, array given\\.$#" count: 1 path: ../src/Composer/Util/StreamContextFactory.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: ../src/Composer/Util/Svn.php - message: "#^Method Composer\\\\Util\\\\Svn\\:\\:execute\\(\\) should return string but returns string\\|null\\.$#" count: 1 path: ../src/Composer/Util/Svn.php - message: "#^Method Composer\\\\Util\\\\Svn\\:\\:executeLocal\\(\\) should return string but returns string\\|null\\.$#" count: 1 path: ../src/Composer/Util/Svn.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Svn.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Svn.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../src/Composer/Util/Svn.php - message: "#^Only booleans are allowed in &&, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Tar.php - message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Cannot access offset 'key' on array\\|false\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Only booleans are allowed in &&, \\(callable\\)\\|null given on the left side\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the right side\\.$#" count: 1 path: ../src/Composer/Util/TlsHelper.php - message: "#^Only booleans are allowed in an if condition, int\\<0, 65535\\>\\|false\\|null given\\.$#" count: 1 path: ../src/Composer/Util/Url.php - message: "#^Method Composer\\\\Util\\\\Zip\\:\\:getComposerJson\\(\\) should return string\\|null but returns string\\|false\\|null\\.$#" count: 1 path: ../src/Composer/Util/Zip.php - message: "#^Only booleans are allowed in &&, array\\ given on the left side\\.$#" count: 1 path: ../src/Composer/Util/Zip.php - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Zip.php - message: "#^Parameter \\#1 \\$name of method ZipArchive\\:\\:getStream\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Zip.php - message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#" count: 1 path: ../src/Composer/Util/Zip.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Autoload\\\\ClassLoader\\|null given\\.$#" count: 2 path: ../src/bootstrap.php - message: "#^Call to method RecursiveDirectoryIterator\\:\\:getSubPathname\\(\\) with incorrect case\\: getSubPathName$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Method Composer\\\\Test\\\\AllFunctionalTest\\:\\:cleanOutput\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the left side\\.$#" count: 3 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:split\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/AllFunctionalTest.php - message: "#^Dynamic call to static method Composer\\\\Test\\\\Autoload\\\\AutoloadGeneratorTest\\:\\:assertFileContentEquals\\(\\)\\.$#" count: 28 path: ../tests/Composer/Test/Autoload/AutoloadGeneratorTest.php - message: "#^Dynamic call to static method Composer\\\\Test\\\\TestCase\\:\\:ensureDirectoryExistsAndClear\\(\\)\\.$#" count: 1 path: ../tests/Composer/Test/Autoload/AutoloadGeneratorTest.php - message: "#^Only booleans are allowed in an if condition, array\\ given\\.$#" count: 2 path: ../tests/Composer/Test/Autoload/AutoloadGeneratorTest.php - message: "#^Parameter \\#1 \\$new_include_path of function set_include_path expects string, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/Autoload/AutoloadGeneratorTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../tests/Composer/Test/Config/JsonConfigSourceTest.php - message: "#^Only booleans are allowed in an if condition, array\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/ConfigTest.php - message: "#^Parameter \\#1 \\$str of function rtrim expects string, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/ConfigTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 2 path: ../tests/Composer/Test/ConfigTest.php - message: "#^Casting to string something that's already string\\.$#" count: 3 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 11 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Foreach overwrites \\$section with its key variable\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Only booleans are allowed in an if condition, int\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Parameter \\#2 \\$packageIds of method Composer\\\\Test\\\\DependencyResolver\\\\PoolBuilderTest\\:\\:getPackageResultSet\\(\\) expects array\\, array\\ given\\.$#" count: 2 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:split\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolBuilderTest.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolOptimizerTest.php - message: "#^Foreach overwrites \\$section with its key variable\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolOptimizerTest.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:split\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolOptimizerTest.php - message: "#^Parameter \\#1 \\$packages of class Composer\\\\DependencyResolver\\\\Pool constructor expects array\\, array\\\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/PoolTest.php - message: "#^Cannot access offset 'hash' on array\\|false\\.$#" count: 1 path: ../tests/Composer/Test/DependencyResolver/RuleTest.php - message: "#^Cannot access property \\$testFlagLearnedPositiveLiteral on Composer\\\\DependencyResolver\\\\Solver\\|null\\.$#" count: 2 path: ../tests/Composer/Test/DependencyResolver/SolverTest.php - message: "#^Cannot call method solve\\(\\) on Composer\\\\DependencyResolver\\\\Solver\\|null\\.$#" count: 8 path: ../tests/Composer/Test/DependencyResolver/SolverTest.php - message: "#^Only booleans are allowed in a ternary operator condition, int\\<0, max\\>\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Downloader/ArchiveDownloaderTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Downloader/DownloadManagerTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../tests/Composer/Test/Downloader/FileDownloaderTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 4 path: ../tests/Composer/Test/Downloader/FossilDownloaderTest.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Config\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Downloader/GitDownloaderTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 3 path: ../tests/Composer/Test/Downloader/GitDownloaderTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 4 path: ../tests/Composer/Test/Downloader/HgDownloaderTest.php - message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/EventDispatcher/EventDispatcherTest.php - message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/EventDispatcher/EventDispatcherTest.php - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/EventDispatcher/EventDispatcherTest.php - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/EventDispatcher/EventDispatcherTest.php - message: """ #^Call to deprecated method getRawData\\(\\) of class Composer\\\\InstalledVersions\\: Use getAllRawData\\(\\) instead which returns all datasets for all autoloaders present in the process\\. getRawData only returns the first dataset loaded, which may not be what you expect\\.$# """ count: 1 path: ../tests/Composer/Test/InstalledVersionsTest.php - message: "#^Parameter \\#1 \\$path of function realpath expects string, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/InstalledVersionsTest.php - message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" count: 1 path: ../tests/Composer/Test/Installer/BinaryInstallerTest.php - message: "#^Dynamic call to static method Composer\\\\Test\\\\TestCase\\:\\:ensureDirectoryExistsAndClear\\(\\)\\.$#" count: 3 path: ../tests/Composer/Test/Installer/BinaryInstallerTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Composer\\\\\\\\Composer' and Composer\\\\Composer will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Installer/InstallerEventTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Composer\\\\\\\\IO…' and Composer\\\\IO\\\\IOInterface will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Installer/InstallerEventTest.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 9 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Foreach overwrites \\$section with its key variable\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Only booleans are allowed in &&, array\\|false given on the left side\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Only booleans are allowed in an if condition, array\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 2 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Parameter \\#2 \\$subject of static method Composer\\\\Pcre\\\\Preg\\:\\:split\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Parameter \\#4 \\$composerFileContents of class Composer\\\\Package\\\\Locker constructor expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 5 path: ../tests/Composer/Test/InstallerTest.php - message: "#^Dynamic call to static method Composer\\\\Json\\\\JsonFile\\:\\:encode\\(\\)\\.$#" count: 4 path: ../tests/Composer/Test/Json/JsonFileTest.php - message: "#^Parameter \\#1 \\$version1 of function version_compare expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Json/JsonFileTest.php - message: "#^Parameter \\#1 \\$contents of class Composer\\\\Json\\\\JsonManipulator constructor expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Json/JsonManipulatorTest.php - message: "#^Parameter \\#1 \\$expectedJson of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertJsonStringEqualsJsonString\\(\\) expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Json/JsonManipulatorTest.php - message: "#^Offset 'ask' might not exist on array\\{ask\\: string, reply\\?\\: string\\}\\|array\\{auth\\: array\\{string, string, string\\|null\\}\\}\\|array\\{text\\: string, verbosity\\?\\: 1\\|2\\|4\\|8\\|16\\}\\.$#" count: 2 path: ../tests/Composer/Test/Mock/IOMock.php - message: "#^Offset 'text' might not exist on array\\{ask\\: string, reply\\?\\: string\\}\\|array\\{auth\\: array\\{string, string, string\\|null\\}\\}\\|array\\{text\\: string, verbosity\\?\\: 1\\|2\\|4\\|8\\|16\\}\\.$#" count: 1 path: ../tests/Composer/Test/Mock/IOMock.php - message: "#^Composer\\\\Test\\\\Mock\\\\InstallationManagerMock\\:\\:__construct\\(\\) does not call parent constructor from Composer\\\\Installer\\\\InstallationManager\\.$#" count: 1 path: ../tests/Composer/Test/Mock/InstallationManagerMock.php - message: "#^Variable method call on \\$this\\(Composer\\\\Test\\\\Mock\\\\InstallationManagerMock\\)\\.$#" count: 1 path: ../tests/Composer/Test/Mock/InstallationManagerMock.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 2 path: ../tests/Composer/Test/Mock/ProcessExecutorMock.php - message: "#^Composer\\\\Test\\\\Mock\\\\VersionGuesserMock\\:\\:__construct\\(\\) does not call parent constructor from Composer\\\\Package\\\\Version\\\\VersionGuesser\\.$#" count: 1 path: ../tests/Composer/Test/Mock/VersionGuesserMock.php - message: "#^Dynamic call to static method Composer\\\\Factory\\:\\:createConfig\\(\\)\\.$#" count: 1 path: ../tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php - message: "#^Dynamic call to static method Composer\\\\Factory\\:\\:createHttpDownloader\\(\\)\\.$#" count: 1 path: ../tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php - message: "#^Parameter \\#1 \\$sources of method Composer\\\\Package\\\\Archiver\\\\PharArchiver\\:\\:archive\\(\\) expects string, string\\|null given\\.$#" count: 2 path: ../tests/Composer/Test/Package/Archiver/PharArchiverTest.php - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: ../tests/Composer/Test/Package/Archiver/ZipArchiverTest.php - message: "#^Parameter \\#1 \\$sources of method Composer\\\\Package\\\\Archiver\\\\ZipArchiver\\:\\:archive\\(\\) expects string, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Package/Archiver/ZipArchiverTest.php - message: "#^Implicit array creation is not allowed \\- variable \\$provider does not exist\\.$#" count: 1 path: ../tests/Composer/Test/Package/CompletePackageTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../tests/Composer/Test/Package/Dumper/ArrayDumperTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Package/Version/VersionSelectorTest.php - message: "#^Dynamic call to static method Composer\\\\Test\\\\TestCase\\:\\:getVersionParser\\(\\)\\.$#" count: 1 path: ../tests/Composer/Test/Platform/VersionTest.php - message: "#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Platform/VersionTest.php - message: "#^Parameter \\#2 \\$capabilityClassName of method Composer\\\\Plugin\\\\PluginManager\\:\\:getPluginCapability\\(\\) expects class\\-string\\, string given\\.$#" count: 2 path: ../tests/Composer/Test/Plugin/PluginInstallerTest.php - message: "#^Unable to resolve the template type CapabilityClass in call to method Composer\\\\Plugin\\\\PluginManager\\:\\:getPluginCapability\\(\\)$#" count: 2 path: ../tests/Composer/Test/Plugin/PluginInstallerTest.php - message: "#^Parameter \\#1 \\$stream of class Symfony\\\\Component\\\\Console\\\\Output\\\\StreamOutput constructor expects resource, resource\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Question/StrictConfirmationQuestionTest.php - message: "#^Cannot call method getDistType\\(\\) on Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 1 path: ../tests/Composer/Test/Repository/ArtifactRepositoryTest.php - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|null given\\.$#" count: 2 path: ../tests/Composer/Test/Repository/ArtifactRepositoryTest.php - message: "#^Cannot call method getName\\(\\) on Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 2 path: ../tests/Composer/Test/Repository/CompositeRepositoryTest.php - message: "#^Cannot call method getPrettyVersion\\(\\) on Composer\\\\Package\\\\BasePackage\\|null\\.$#" count: 2 path: ../tests/Composer/Test/Repository/CompositeRepositoryTest.php - message: "#^Parameter \\#1 \\$function 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 \\$path of function realpath expects string, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/Repository/PathRepositoryTest.php - message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/PathRepositoryTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Composer\\\\\\\\Repository…' and Composer\\\\Repository\\\\RepositoryInterface will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Repository/RepositoryManagerTest.php - message: "#^Parameter \\#1 \\$objectOrValue of method ReflectionProperty\\:\\:setValue\\(\\) expects object\\|null, object\\|string given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php - message: "#^Parameter \\#1 \\$repoConfig of class Composer\\\\Repository\\\\Vcs\\\\PerforceDriver constructor expects array\\{url\\: string\\}, array\\ given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/Vcs/PerforceDriverTest.php - message: "#^Only booleans are allowed in a negated boolean, string given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/VcsRepositoryTest.php - message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/VcsRepositoryTest.php - message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Repository/VcsRepositoryTest.php - message: "#^Method Composer\\\\Test\\\\TestCase\\:\\:getUniqueTmpDirectory\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: ../tests/Composer/Test/TestCase.php - message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#" count: 1 path: ../tests/Composer/Test/TestCase.php - message: "#^Only booleans are allowed in a negated boolean, Composer\\\\Semver\\\\VersionParser\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/TestCase.php - message: "#^Variable method call on Composer\\\\Package\\\\PackageInterface\\.$#" count: 1 path: ../tests/Composer/Test/TestCase.php - message: "#^Cannot access an offset on array\\\\>\\|false\\.$#" count: 1 path: ../tests/Composer/Test/Util/GitTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Composer\\\\\\\\Util\\\\\\\\Http…' and Composer\\\\Util\\\\Http\\\\ProxyManager will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Util/Http/ProxyManagerTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Composer\\\\\\\\Util\\\\\\\\Http…' and Composer\\\\Util\\\\Http\\\\RequestProxy will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Util/Http/ProxyManagerTest.php - message: "#^Only booleans are allowed in an if condition, string given\\.$#" count: 1 path: ../tests/Composer/Test/Util/Http/ProxyManagerTest.php - message: "#^Parameter \\#1 \\$haystack of function stripos expects string, string\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Util/Http/ProxyManagerTest.php - message: "#^Only booleans are allowed in an if condition, string\\|false\\|null given\\.$#" count: 1 path: ../tests/Composer/Test/Util/NoProxyPatternTest.php - message: "#^Implicit array creation is not allowed \\- variable \\$packages does not exist\\.$#" count: 1 path: ../tests/Composer/Test/Util/PackageSorterTest.php - message: "#^Call to method Composer\\\\Util\\\\Perforce\\:\\:queryP4User\\(\\) with incorrect case\\: queryP4user$#" count: 6 path: ../tests/Composer/Test/Util/PerforceTest.php - message: "#^Dynamic call to static method Composer\\\\Util\\\\Perforce\\:\\:checkServerExists\\(\\)\\.$#" count: 2 path: ../tests/Composer/Test/Util/PerforceTest.php - message: "#^Parameter \\#2 \\$string of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/Util/PerforceTest.php - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 path: ../tests/Composer/Test/Util/PlatformTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Util/ProcessExecutorTest.php - message: "#^Dynamic call to static method Composer\\\\Util\\\\ProcessExecutor\\:\\:getTimeout\\(\\)\\.$#" count: 1 path: ../tests/Composer/Test/Util/ProcessExecutorTest.php - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true and 'callbackGet must…' will always evaluate to true\\.$#" count: 1 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Parameter \\#1 \\$object of method ReflectionProperty\\:\\:getValue\\(\\) expects object, object\\|string given\\.$#" count: 1 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Parameter \\#1 \\$objectOrValue of method ReflectionProperty\\:\\:setValue\\(\\) expects object\\|null, object\\|string given\\.$#" count: 1 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Parameter \\#1 \\$originUrl of method Composer\\\\Util\\\\RemoteFilesystem\\:\\:getContents\\(\\) expects string, string\\|false\\|null given\\.$#" count: 2 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, bool\\|string given\\.$#" count: 1 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 2 path: ../tests/Composer/Test/Util/RemoteFilesystemTest.php - message: "#^Implicit array creation is not allowed \\- variable \\$certificate does not exist\\.$#" count: 2 path: ../tests/Composer/Test/Util/TlsHelperTest.php - message: "#^Only booleans are allowed in a ternary operator condition, array\\ given\\.$#" count: 1 path: ../tests/Composer/Test/Util/TlsHelperTest.php