'#^Cannot call method getPriority\\(\\) on PhpCsFixer\\\\Fixer\\\\FixerInterface\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/AbstractProxyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Cache/Signature.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Config\\:\\:getFinder\\(\\) should return PhpCsFixer\\\\Finder but returns iterable\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Config.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\-, int\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, array\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$time of class PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReportSummary constructor expects int, float\\|int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$basePath of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/ListFilesCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Command/ListFilesCommand.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of function is_file expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, non\\-empty\\-array\\, string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Console\\\\ConfigurationResolver\\:\\:\\$path \\(list\\\\|null\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'line\' might not exist on array\\{function\\?\\: string, line\\?\\: int, file\\: string, class\\?\\: class\\-string, type\\?\\: \'\\-\\>\'\\|\'\\:\\:\', args\\?\\: array, object\\?\\: object\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Output/ErrorOutput.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\CheckstyleReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/CheckstyleReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/CheckstyleReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$diffs of static method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\GitlabReporter\\:\\:getLines\\(\\) expects list\\, array\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/GitlabReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\JunitReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/JunitReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/JunitReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$reporter of method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReporterFactory\\:\\:registerReporter\\(\\) expects PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReporterInterface, object given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/ReporterFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\XmlReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/XmlReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/FixReport/XmlReporter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$reporter of method PhpCsFixer\\\\Console\\\\Report\\\\ListSetsReport\\\\ReporterFactory\\:\\:registerReporter\\(\\) expects PhpCsFixer\\\\Console\\\\Report\\\\ListSetsReport\\\\ReporterInterface, object given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Console/Report/ListSetsReport/ReporterFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, array\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Documentation/RuleSetDocumentationGenerator.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getExceptionErrors\\(\\) should return list\\ but returns array\\, PhpCsFixer\\\\Error\\\\Error\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getInvalidErrors\\(\\) should return list\\ but returns array\\, PhpCsFixer\\\\Error\\\\Error\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getLintErrors\\(\\) should return list\\ but returns array\\, PhpCsFixer\\\\Error\\\\Error\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\AbstractPhpUnitFixer\\:\\:addInternalAnnotation\\(\\) should return list\\ but returns array\\, PhpCsFixer\\\\DocBlock\\\\Line\\|non\\-falsy\\-string\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/AbstractPhpUnitFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextTokenOfKind\\(\\) expects int, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Alias/PowToExponentiationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$slices of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertSlices\\(\\) expects array\\\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\<\'\'\\|int, array\\{PhpCsFixer\\\\Tokenizer\\\\Token, PhpCsFixer\\\\Tokenizer\\\\Token\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'end\' on array\\{name\\: string, start\\: int, end\\: int\\}\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/AttributeNotation/OrderedAttributesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'end\' on array\\{start\\: int, end\\: int, name\\: string\\}\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/AttributeNotation/OrderedAttributesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/AttributeNotation/OrderedAttributesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../src/Fixer/Basic/PsrAutoloadingFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'elements\' on array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\\\}\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'index\' on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\'\\}\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'end\' might not exist on array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'start\' might not exist on array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\.$#', 'count' => 11, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$class of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) expects array\\{index\\: int, open\\: int, close\\: int, elements\\: non\\-empty\\-list\\\\}, array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\\\}\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$class of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) expects array\\{index\\: int, open\\: int, close\\: int, elements\\: non\\-empty\\-list\\\\}, array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\\\}\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:\\$classElementTypes \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:getClassyDefinitionInfo\\(\\) should return array\\{start\\: int, classy\\: int, open\\: int, extends\\: array\\{start\\: int, numberOfExtends\\: int, multiLine\\: bool\\}\\|false, implements\\: array\\{start\\: int, numberOfImplements\\: int, multiLine\\: bool\\}\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, \\.\\.\\.\\} but returns array\\{classy\\: int, open\\: int\\|null, extends\\: array\\\\|false, implements\\: array\\\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, readonly\\: int\\|false, \\.\\.\\.\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, bool\\|int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an elseif condition, array\\\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an if condition, array\\\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in pre\\-increment, bool\\|int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:findFunction\\(\\) should return array\\{nameIndex\\: int, startIndex\\: int, endIndex\\: int, bodyIndex\\: int, modifiers\\: list\\\\}\\|null but returns array\\{nameIndex\\: int\\<0, max\\>, startIndex\\: int, endIndex\\: int\\|null, bodyIndex\\: int\\|null, modifiers\\: array\\<\'\'\\|int, int\\>\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) should return array\\{list\\\\>, array\\{3\\: false\\}\\} but returns array\\{list\\\\>, array\\{3\\: false\\}\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\, list\\ given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'type\' on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\'\\}\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'class_is_final\' might not exist on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, class_is_final\\?\\: bool, method_final_index\\: int\\|null, method_is_constructor\\?\\: bool, method_is_private\\: bool, method_of_enum\\: false\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'method_is…\' might not exist on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, class_is_final\\: false, method_final_index\\: int\\|null, method_is_constructor\\?\\: bool, method_is_private\\: true, method_of_enum\\: false\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:getElements\\(\\) should return list\\ but returns list\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'end\' might not exist on array\\{abstract\\: bool, end\\?\\: int, name\\?\\: string, readonly\\: bool, start\\: int, static\\: bool, type\\?\\: string, visibility\\: non\\-empty\\-string\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$a of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortGroupElements\\(\\) expects array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}, array given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$b of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortGroupElements\\(\\) expects array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}, array given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:\\$typePosition \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only iterables can be unpacked, array\\\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given in argument \\#3\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, array\\\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string1 of function strcasecmp expects string, array\\\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$string2 of function strcasecmp expects string, array\\\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Generator expects value type array\\, array\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$elements of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedTraitsFixer\\:\\:sort\\(\\) expects array\\, array\\\\|string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in &&, int\\|false\\|null given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ProtectedToPrivateFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Comment\\\\CommentToPhpdocFixer\\:\\:\\$ignoredTags \\(list\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Comment/CommentToPhpdocFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Argument of an invalid type array\\, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token supplied for foreach, only iterables are supported\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/IncludeFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$possibleKind of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:isGivenKind\\(\\) expects list\\\\|int, list\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\ImplodeCallFixer\\:\\:getArgumentIndices\\(\\) should return array\\ but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/ImplodeCallFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$others of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:equalsAny\\(\\) expects list\\, array\\\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Import\\\\FullyQualifiedStrictTypesFixer\\:\\:\\$discoveredSymbols \\(array\\{const\\?\\: list\\, class\\?\\: list\\, function\\?\\: list\\\\}\\|null\\) does not accept array\\{const\\?\\: list\\, class\\: non\\-empty\\-list\\, function\\?\\: list\\\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Import\\\\FullyQualifiedStrictTypesFixer\\:\\:\\$reservedIdentifiersByLevel \\(array\\, array\\\\>\\) does not accept non\\-empty\\-array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Import\\\\FullyQualifiedStrictTypesFixer\\:\\:\\$symbolsForImport \\(array\\{const\\?\\: array\\, class\\?\\: array\\, function\\?\\: array\\\\}\\) does not accept array\\{const\\?\\: array\\, class\\?\\: array\\, function\\?\\: array\\\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$types of method PhpCsFixer\\\\DocBlock\\\\Annotation\\:\\:setTypes\\(\\) expects list\\, array\\, string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$imports of method PhpCsFixer\\\\Tokenizer\\\\Processor\\\\ImportProcessor\\:\\:insertImports\\(\\) expects array\\{const\\?\\: array\\, class\\?\\: array\\, function\\?\\: array\\\\}, array\\{const\\?\\: array\\, function\\?\\: array\\, class\\?\\: array\\\\}&non\\-empty\\-array given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/GroupImportFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/NoUnusedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:getNewOrder\\(\\) should return array\\ but returns array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$indices of method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:sortByAlgorithm\\(\\) expects array\\, array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$indices of method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:sortByAlgorithm\\(\\) expects array\\, non\\-empty\\-array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, non\\-empty\\-array given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, non\\-empty\\-array\\<0\\|1\\|2, \'class\'\\|\'const\'\\|\'function\'\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextMeaningfulToken\\(\\) expects int, int\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:\\$functionsFixMap \\(array\\\\>\\) does not accept non\\-empty\\-array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in &&, bool\\|int given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in &&, bool\\|int given on the right side\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, bool\\|int given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an if condition, bool\\|int given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, bool\\|int given on the left side\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextTokenOfKind\\(\\) expects int, bool\\|int given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getPrevTokenOfKind\\(\\) expects int, bool\\|int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertAt\\(\\) expects int, bool\\|int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapContainASingleSpace \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapFollowedByASingleSpace \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapPrecededByASingleSpace \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\BinaryOperatorSpacesFixer\\:\\:resolveOperatorsFromConfig\\(\\) should return array\\ but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the right side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\TernaryToElvisOperatorFixer\\:\\:getAfterOperator\\(\\) should return array\\{start\\: int, end\\: int\\} but returns array\\{start\\: int\\|null, end\\?\\: int\\|null\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Operator/TernaryToElvisOperatorFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitAttributesFixer\\:\\:createAttributeTokens\\(\\) should return list\\ but returns non\\-empty\\-array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitAttributesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$name of static method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitAttributesFixer\\:\\:toClassConstant\\(\\) expects class\\-string, string given\\.$#', 'count' => 5, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitAttributesFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot call method isGivenKind\\(\\) on PhpCsFixer\\\\Tokenizer\\\\Token\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an if condition, bool\\|int\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$token of class PhpCsFixer\\\\Tokenizer\\\\Token constructor expects array\\{int, string\\}\\|string, array\\{262, int\\|string\\|true\\} given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitTestAnnotationFixer\\:\\:updateLines\\(\\) should return list\\ but returns array\\, PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\PhpdocAlignFixer\\:\\:getMatches\\(\\) should return array\\{indent\\: string\\|null, tag\\: string\\|null, hint\\: string, var\\: string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\|null but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: null, hint\\: string, var\\: string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: string, hint\\: string, var\\: \'\', static\\: string, desc\\?\\: string\\|null\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: string, hint\\: string, var\\: non\\-empty\\-string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an if condition, int\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot call method getEnd\\(\\) on PhpCsFixer\\\\DocBlock\\\\Annotation\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot call method getStart\\(\\) on PhpCsFixer\\\\DocBlock\\\\Annotation\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$content of method PhpCsFixer\\\\DocBlock\\\\Line\\:\\:setContent\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(int\\|string\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTagTypeFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\PhpdocToCommentFixer\\:\\:\\$ignoredTags \\(list\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocToCommentFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$str of function preg_quote expects string, int\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$parentScopeEndIndex of method PhpCsFixer\\\\Fixer\\\\Whitespace\\\\ArrayIndentationFixer\\:\\:findExpressionEndIndex\\(\\) expects int, int\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Whitespace\\\\BlankLineBeforeStatementFixer\\:\\:\\$fixTokenMap \\(list\\\\) does not accept non\\-empty\\-array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset \'new_indent\' might not exist on array\\{type\\: \'statement\', skip\\: bool, end_index\\: int\\|null, end_index_inclusive\\: bool, initial_indent\\: string, new_indent\\?\\: string, is_indented_block\\: bool\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$fixerConflicts of method PhpCsFixer\\\\FixerFactory\\:\\:generateConflictMessage\\(\\) expects array\\\\>, non\\-empty\\-array\\, string\\>\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/FixerFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\, non\\-empty\\-array\\, string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/FixerFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/CachingLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of function file_put_contents expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$path of method PhpCsFixer\\\\FileRemoval\\:\\:observe\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$path of method PhpCsFixer\\\\Linter\\\\ProcessLinter\\:\\:createProcessForFile\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#4 \\$path of class Symfony\\\\Component\\\\Filesystem\\\\Exception\\\\IOException constructor expects string\\|null, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Linter\\\\ProcessLinter\\:\\:\\$temporaryFile \\(string\\|null\\) does not accept string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) should return string but returns array\\\\|string\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Preg.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Preg.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Preg.php', ]; $ignoreErrors[] = [ 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the right side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/AbstractRuleSetDescription.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, array\\\\|bool given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/RuleSet.php', ]; $ignoreErrors[] = [ 'message' => '#^Call to an undefined method object\\:\\:getName\\(\\)\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/RuleSets.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\RuleSet\\\\RuleSets\\:\\:getSetDefinitions\\(\\) should return array\\ but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/RuleSets.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$callback of function uksort expects callable\\(int\\|string, int\\|string\\)\\: int, Closure\\(string, string\\)\\: int\\<\\-1, 1\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/RuleSets.php', ]; $ignoreErrors[] = [ 'message' => '#^Static property PhpCsFixer\\\\RuleSet\\\\RuleSets\\:\\:\\$setDefinitions \\(array\\\\) does not accept array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/RuleSet/RuleSets.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\AttributeAnalyzer\\:\\:collectAttributes\\(\\) should return list\\ but returns non\\-empty\\-array\\, array\\{start\\: int, end\\: int, name\\: string\\}\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/AttributeAnalyzer.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$analysis of static method PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\ControlCaseStructuresAnalyzer\\:\\:buildControlCaseStructureAnalysis\\(\\) expects array\\{kind\\: int, index\\: int, open\\: int, end\\: int, cases\\: list\\, default\\: array\\{index\\: int, open\\: int\\}\\|null\\}, non\\-empty\\-array\\ given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:getContent\\(\\) should return non\\-empty\\-string but returns string\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Token.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:toJson\\(\\) should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Token.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:extractTokenKind\\(\\) should return int\\|non\\-empty\\-string but returns int\\|string\\|null\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findGivenKind\\(\\) should return array\\, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\> but returns array\\<\'\'\\|int, array\\\\|PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findOppositeBlockEdge\\(\\) should return int\\<0, max\\> but returns int\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) should return non\\-empty\\-array\\, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|null but returns non\\-empty\\-array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$others of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:equalsAny\\(\\) expects list\\, non\\-empty\\-array\\, array\\{int\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$possibleKind of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:isGivenKind\\(\\) expects list\\\\|int, non\\-empty\\-array\\, int\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\\\|PhpCsFixer\\\\Tokenizer\\\\Tokens given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$name of static method PhpCsFixer\\\\Tokenizer\\\\Processor\\\\ImportProcessor\\:\\:tokenizeName\\(\\) expects class\\-string, string given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../src/Tokenizer/Transformer/NameQualifiedTransformer.php', ]; $ignoreErrors[] = [ 'message' => '#^Generator expects value type PhpCsFixer\\\\Tokenizer\\\\TransformerInterface, object given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/Tokenizer/Transformers.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../src/ToolInfo.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\CiConfigurationTest\\:\\:getPhpVersionsUsedForBuildingLocalImages\\(\\) should return list\\ but returns array\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\CiConfigurationTest\\:\\:getPhpVersionsUsedForBuildingOfficialImages\\(\\) should return list\\ but returns array\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$code of static method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:fromCode\\(\\) expects string, string\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#', 'count' => 5, 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$callback of function array_reduce expects callable\\(array, int\\|string\\)\\: array, Closure\\(array, string\\)\\: array given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'reflection\' on array\\{reflection\\: ReflectionObject, short_classname\\: string\\}\\|PhpCsFixer\\\\Fixer\\\\FixerInterface\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access offset \'short_classname\' on array\\{reflection\\: ReflectionObject, short_classname\\: string\\}\\|PhpCsFixer\\\\Fixer\\\\FixerInterface\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$file of class Symfony\\\\Component\\\\Finder\\\\SplFileInfo constructor expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$file on SimpleXMLElement\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Cannot call method xpath\\(\\) on SimpleXMLElement\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:extractFunctionNamesCalledInClass\\(\\) should return list\\ but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:getFileContentForClass\\(\\) should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:getSrcClasses\\(\\) should return list\\ but returns list\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:getTestClasses\\(\\) should return list\\\\> but returns list\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the right side\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: mixed\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: non\\-empty\\-string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$className of method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:createTokensForClass\\(\\) expects class\\-string, string given\\.$#', 'count' => 4, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$content of class PhpCsFixer\\\\DocBlock\\\\DocBlock constructor expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$data of function simplexml_load_string expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\\\|T of object, string given\\.$#', 'count' => 11, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: bool\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: bool given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$haystack of function str_contains expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/AutoReview/ReadmeTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../tests/ConfigTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFileExists\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$path of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function ltrim expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$basePath of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Anonymous function should return string but returns string\\|false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/ConfigurationResolverTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$array of function sort expects TArray of array\\, array\\\\|Exception given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/ConfigurationResolverTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$expected of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\, string given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../tests/Console/ConfigurationResolverTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$stream of class Symfony\\\\Component\\\\Console\\\\Output\\\\StreamOutput constructor expects resource, resource\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Output/ErrorOutputTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Output/ErrorOutputTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$expected of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Console/Output/Progress/ProgressOutputFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Fixer\\\\Basic\\\\EncodingFixerTest\\:\\:prepareTestCase\\(\\) should return array\\{string, string\\|null, SplFileInfo\\} but returns array\\{string\\|false, string\\|false\\|null, SplFileInfo\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/Basic/EncodingFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$objectOrMethod of class ReflectionMethod constructor expects object\\|string, class\\-string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/ControlStructure/NoUselessElseFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in an elseif condition, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/FunctionNotation/MethodArgumentSpaceFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/FunctionNotation/NativeFunctionInvocationFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Generator expects value type array\\{0\\: string, 1\\: string\\|null, 2\\?\\: array\\\\}, array\\{0\\: string, 1\\?\\: string\\} given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/PhpTag/NoClosingTagFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Generator expects value type array\\{0\\: string, 1\\?\\: string\\}, list\\ given\\.$#', 'count' => 5, 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Generator expects value type array\\{string, string\\}, list\\ given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Fixer\\\\PhpUnit\\\\PhpUnitDataProviderReturnTypeFixerTest\\:\\:mapToTemplate\\(\\) should return list\\ but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitTargetVersionTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/Semicolon/NoEmptyStatementFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/Semicolon/SemicolonAfterInstructionFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$array of function array_map expects array, iterable given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Fixer/Whitespace/LineEndingFixerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$code of class PhpCsFixer\\\\FixerDefinition\\\\FileSpecificCodeSample constructor expects string, string\\|false given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../tests/FixerDefinition/FileSpecificCodeSampleTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$minimum of class PhpCsFixer\\\\FixerDefinition\\\\VersionSpecification constructor expects int\\<1, max\\>\\|null, int\\|null given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$maximum of class PhpCsFixer\\\\FixerDefinition\\\\VersionSpecification constructor expects int\\<1, max\\>\\|null, int\\|null given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method class@anonymous/tests/FixerFactoryTest\\.php\\:223\\:\\:getRuleConfiguration\\(\\) should return array\\ but returns array\\\\|true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Method class@anonymous/tests/FixerFactoryTest\\.php\\:58\\:\\:getRules\\(\\) should return array\\\\|true\\> but returns array\\\\|bool\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\, string given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../tests/PregTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) expects string, array\\\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/PregTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, array\\\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/PregTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$subject of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, array\\\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/PregTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$string of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/RuleSet/RuleSetsTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$dirs of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:mkdir\\(\\) expects iterable\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/InstallViaComposerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/InstallViaComposerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$files of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:remove\\(\\) expects iterable\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/InstallViaComposerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$cwd of static method PhpCsFixer\\\\Tests\\\\Smoke\\\\InstallViaComposerTest\\:\\:assertCommandsWork\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Smoke/InstallViaComposerTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: mixed\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$code of static method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:fromCode\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\, list\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationCaseFactory\\:\\:determineRequirements\\(\\) should return array\\{php\\: int, php\\<\\: int, os\\: list\\\\} but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationCaseFactory\\:\\:determineSettings\\(\\) should return array\\{checkPriority\\: bool, deprecations\\: list\\\\} but returns array\\\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php', ]; $ignoreErrors[] = [ 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$dirs of method Symfony\\\\Component\\\\Finder\\\\Finder\\:\\:in\\(\\) expects array\\\\|string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$filename of function is_dir expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$fixedInputCode of static method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationTestCase\\:\\:assertRevertedOrderFixing\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$fixedInputCodeWithReversedFixers of static method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationTestCase\\:\\:assertRevertedOrderFixing\\(\\) expects string, string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$id of static method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:getNameForId\\(\\) expects int, int\\|string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractTransformerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$prototypes of method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractTransformerTestCase\\:\\:countTokenPrototypes\\(\\) expects list\\, array\\, array\\{int\\}\\|string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/AbstractTransformerTestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Offset 1 might not exist on array\\{0\\: string, 1\\?\\: string\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/TestCaseUtils.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Tests\\\\Test\\\\TokensWithObservedTransformers\\:\\:\\$observedModificationsPerTransformer \\(array\\\\>\\) does not accept non\\-empty\\-array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Test/TokensWithObservedTransformers.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Tests\\\\TestCase\\:\\:\\$actualDeprecations \\(list\\\\) does not accept array\\, string\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/TestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Property PhpCsFixer\\\\Tests\\\\TestCase\\:\\:\\$expectedDeprecations \\(list\\\\) does not accept array\\, string\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/TestCase.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\, list\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\, list\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php', ]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$slices of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertSlices\\(\\) expects array\\\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\{16\\: array\\, 6\\: array\\\\} given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php', ]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]];