123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 |
- <?php declare(strict_types = 1);
- $ignoreErrors = [];
- $ignoreErrors[] = [
- 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Console/Command/SelfUpdateCommand.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Foreach overwrites \\$token with its value variable\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Doctrine/Annotation/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$array \\(array\\<PhpCsFixer\\\\Doctrine\\\\Annotation\\\\Token\\>\\) of method PhpCsFixer\\\\Doctrine\\\\Annotation\\\\Tokens\\:\\:fromArray\\(\\) should be contravariant with parameter \\$array \\(array\\<int, mixed\\>\\) of method SplFixedArray\\<PhpCsFixer\\\\Doctrine\\\\Annotation\\\\Token\\>\\:\\:fromArray\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Doctrine/Annotation/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\Alias\\\\NoMixedEchoPrintFixer\\)\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Alias/NoMixedEchoPrintFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\ArrayNotation\\\\ArraySyntaxFixer\\)\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ArrayNotation/ArraySyntaxFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in &&, mixed given on the left side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in &&, mixed given on the left side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Basic/CurlyBracesPositionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in \\|\\|, mixed given on the left side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Basic/CurlyBracesPositionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Basic/CurlyBracesPositionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$prevIndex might not be defined\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Basic/CurlyBracesPositionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in &&, mixed given on the left side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Basic/NonPrintableCharacterFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$i might not be defined\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/CastNotation/NoShortBoolCastFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:determineRequiredLineCount\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionExtends\\(\\) has parameter \\$classExtendsInfo with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionExtends\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionImplements\\(\\) has parameter \\$classImplementsInfo with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionImplements\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionOpenSpacing\\(\\) has parameter \\$classDefInfo with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:getClassyInheritanceInfo\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a negated boolean, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in &&, mixed given on the right side\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/FinalInternalClassFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Foreach overwrites \\$pos with its value variable\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortElements\\(\\) has parameter \\$elements with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTypesFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Comment\\\\NoEmptyCommentFixer\\:\\:getCommentBlock\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Comment/NoEmptyCommentFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Comment/SingleLineCommentStyleFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ControlStructure\\\\YodaStyleFixer\\:\\:getCompareFixableInfo\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:filterArguments\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:filterArguments\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:findNotUsedLambdaImports\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\PhpdocToPropertyTypeFixer\\:\\:resolveApplicableType\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^For loop initial assignment overwrites variable \\$index\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:filterUseDeclarations\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:insertImports\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:prepareImports\\(\\) has parameter \\$global with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:getNewOrder\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$k might not be defined\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$k2 might not be defined\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\SingleImportPerStatementFixer\\:\\:getGroupDeclaration\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/SingleImportPerStatementFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in an if condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Import/SingleImportPerStatementFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\DeclareEqualNormalizeFixer\\)\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:fixGetClassCall\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:getReplaceCandidate\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:getReplacementTokenClones\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$configuration \\(array\\{syntax\\: \'long\'\\|\'short\'\\}\\) of method PhpCsFixer\\\\Fixer\\\\ListNotation\\\\ListSyntaxFixer\\:\\:configure\\(\\) should be contravariant with parameter \\$configuration \\(array\\<string, mixed\\>\\) of method PhpCsFixer\\\\AbstractFixer\\:\\:configure\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ListNotation/ListSyntaxFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$configuration \\(array\\{syntax\\: \'long\'\\|\'short\'\\}\\) of method PhpCsFixer\\\\Fixer\\\\ListNotation\\\\ListSyntaxFixer\\:\\:configure\\(\\) should be contravariant with parameter \\$configuration \\(array\\<string, mixed\\>\\) of method PhpCsFixer\\\\Fixer\\\\ConfigurableFixerInterface\\:\\:configure\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/ListNotation/ListSyntaxFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\Operator\\\\ConcatSpaceFixer\\)\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Operator/ConcatSpaceFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in an if condition, mixed given\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Operator/NewWithBracesFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a negated boolean, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Operator/NoUselessConcatOperatorFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\OperatorLinebreakFixer\\:\\:getNonBooleanOperators\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Operator/OperatorLinebreakFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\TernaryToElvisOperatorFixer\\:\\:getBeforeOperator\\(\\) has parameter \\$blockEdgeDefinitions with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Operator/TernaryToElvisOperatorFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitConstructFixer\\)\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitConstructFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a negated boolean, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDataProviderStaticFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a negated boolean, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:annotationIsSuperfluous\\(\\) has parameter \\$info with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:removeSuperfluousModifierAnnotation\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:toComparableNames\\(\\) return type has no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^For loop initial assignment overwrites variable \\$pos\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a negated boolean, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Foreach overwrites \\$index with its key variable\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Strict\\\\StrictParamFixer\\:\\:fixFunction\\(\\) has parameter \\$functionParams with no value type specified in iterable type array\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Strict/StrictParamFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$index might not be defined\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/HeredocIndentationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$end might not be defined\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoExtraBlankLinesFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable method call on \\$this\\(PhpCsFixer\\\\Fixer\\\\Whitespace\\\\NoExtraBlankLinesFixer\\)\\.$#',
- 'count' => 2,
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoExtraBlankLinesFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^For loop initial assignment overwrites variable \\$endIndex\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^For loop initial assignment overwrites variable \\$i\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$className \\(string\\) of method PhpCsFixer\\\\StdinFileInfo\\:\\:getFileInfo\\(\\) should be contravariant with parameter \\$class \\(string\\|null\\) of method SplFileInfo\\:\\:getFileInfo\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/StdinFileInfo.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$className \\(string\\) of method PhpCsFixer\\\\StdinFileInfo\\:\\:getPathInfo\\(\\) should be contravariant with parameter \\$class \\(string\\|null\\) of method SplFileInfo\\:\\:getPathInfo\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/StdinFileInfo.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Foreach overwrites \\$key with its key variable\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$array \\(array\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\) of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:fromArray\\(\\) should be contravariant with parameter \\$array \\(array\\<int, mixed\\>\\) of method SplFixedArray\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\:\\:fromArray\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$index \\(int\\) of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$index \\(int\\|null\\) of method SplFixedArray\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$index \\(int\\) of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$offset \\(int\\|null\\) of method ArrayAccess\\<int,PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#2 \\$newval \\(PhpCsFixer\\\\Tokenizer\\\\Token\\) of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$value \\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\) of method ArrayAccess\\<int,PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#2 \\$newval \\(PhpCsFixer\\\\Tokenizer\\\\Token\\) of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$value \\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\) of method SplFixedArray\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$count might not be defined\\.$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Variable \\$index might not be defined\\.$#',
- 'count' => 5,
- 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#1 \\$index \\(int\\) of method PhpCsFixer\\\\Tests\\\\Test\\\\TokensWithObservedTransformers\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$offset \\(int\\|null\\) of method ArrayAccess\\<int,PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../tests/Test/TokensWithObservedTransformers.php',
- ];
- $ignoreErrors[] = [
- 'message' => '#^Parameter \\#2 \\$newval \\(PhpCsFixer\\\\Tokenizer\\\\Token\\) of method PhpCsFixer\\\\Tests\\\\Test\\\\TokensWithObservedTransformers\\:\\:offsetSet\\(\\) should be contravariant with parameter \\$value \\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\) of method ArrayAccess\\<int,PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\>\\:\\:offsetSet\\(\\)$#',
- 'count' => 1,
- 'path' => __DIR__ . '/../../tests/Test/TokensWithObservedTransformers.php',
- ];
- return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
|