|
@@ -271,12 +271,6 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:\\$classElementTypes \\(array\\<string, string\\>\\) does not accept array\\<int\\|string, mixed\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: return.type
|
|
// identifier: return.type
|
|
'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\\<string, bool\\|int\\>\\|false, implements\\: array\\<string, bool\\|int\\>\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, readonly\\: int\\|false, \\.\\.\\.\\}\\.$#',
|
|
'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\\<string, bool\\|int\\>\\|false, implements\\: array\\<string, bool\\|int\\>\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, readonly\\: int\\|false, \\.\\.\\.\\}\\.$#',
|
|
@@ -373,12 +367,6 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:\\$typePosition \\(array\\<string, int\\>\\) does not accept array\\<int\\|string, int\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: argument.unpackNonIterable
|
|
// identifier: argument.unpackNonIterable
|
|
'message' => '#^Only iterables can be unpacked, array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given in argument \\#3\\.$#',
|
|
'message' => '#^Only iterables can be unpacked, array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|int\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given in argument \\#3\\.$#',
|
|
@@ -421,12 +409,6 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ProtectedToPrivateFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ProtectedToPrivateFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Comment\\\\CommentToPhpdocFixer\\:\\:\\$ignoredTags \\(list\\<string\\>\\) does not accept array\\<string\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/Comment/CommentToPhpdocFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: foreach.nonIterable
|
|
// identifier: foreach.nonIterable
|
|
'message' => '#^Argument of an invalid type array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token supplied for foreach, only iterables are supported\\.$#',
|
|
'message' => '#^Argument of an invalid type array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token supplied for foreach, only iterables are supported\\.$#',
|
|
@@ -547,12 +529,6 @@ $ignoreErrors[] = [
|
|
'count' => 2,
|
|
'count' => 2,
|
|
'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:\\$functionsFixMap \\(array\\<string, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\>\\) does not accept non\\-empty\\-array\\<int\\|string, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: booleanAnd.leftNotBoolean
|
|
// identifier: booleanAnd.leftNotBoolean
|
|
'message' => '#^Only booleans are allowed in &&, bool\\|int given on the left side\\.$#',
|
|
'message' => '#^Only booleans are allowed in &&, bool\\|int given on the left side\\.$#',
|
|
@@ -601,36 +577,12 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapContainASingleSpace \\(array\\<string, int\\>\\) does not accept array\\<int\\|string, int\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
|
|
|
|
-];
|
|
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapFollowedByASingleSpace \\(array\\<string, int\\>\\) does not accept array\\<int\\|string, int\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
|
|
|
|
-];
|
|
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\SingleSpaceAroundConstructFixer\\:\\:\\$fixTokenMapPrecededByASingleSpace \\(array\\<string, int\\>\\) does not accept array\\<int\\|string, int\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: plus.leftNonNumeric
|
|
// identifier: plus.leftNonNumeric
|
|
'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
|
|
'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: return.type
|
|
|
|
- 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\BinaryOperatorSpacesFixer\\:\\:resolveOperatorsFromConfig\\(\\) should return array\\<string, string\\> but returns array\\<int\\|string, mixed\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: booleanNot.exprNotBoolean
|
|
// identifier: booleanNot.exprNotBoolean
|
|
'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#',
|
|
'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#',
|
|
@@ -751,18 +703,6 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: argument.type
|
|
|
|
- '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[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\PhpdocToCommentFixer\\:\\:\\$ignoredTags \\(list\\<string\\>\\) does not accept array\\<string\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocToCommentFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: ternary.condNotBoolean
|
|
// identifier: ternary.condNotBoolean
|
|
'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|false given\\.$#',
|
|
'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|false given\\.$#',
|
|
@@ -781,12 +721,6 @@ $ignoreErrors[] = [
|
|
'count' => 1,
|
|
'count' => 1,
|
|
'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
|
|
'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: assign.propertyType
|
|
|
|
- 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Whitespace\\\\BlankLineBeforeStatementFixer\\:\\:\\$fixTokenMap \\(list\\<int\\>\\) does not accept non\\-empty\\-array\\<int\\|string, int\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: offsetAccess.notFound
|
|
// identifier: offsetAccess.notFound
|
|
'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\\}\\.$#',
|
|
'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\\}\\.$#',
|
|
@@ -1297,18 +1231,6 @@ $ignoreErrors[] = [
|
|
'count' => 3,
|
|
'count' => 3,
|
|
'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php',
|
|
'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php',
|
|
];
|
|
];
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: return.type
|
|
|
|
- 'message' => '#^Method class@anonymous/tests/FixerFactoryTest\\.php\\:223\\:\\:getRuleConfiguration\\(\\) should return array\\<string, mixed\\> but returns array\\<string, mixed\\>\\|true\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php',
|
|
|
|
-];
|
|
|
|
-$ignoreErrors[] = [
|
|
|
|
- // identifier: return.type
|
|
|
|
- 'message' => '#^Method class@anonymous/tests/FixerFactoryTest\\.php\\:58\\:\\:getRules\\(\\) should return array\\<string, array\\<string, mixed\\>\\|true\\> but returns array\\<string, array\\<string, mixed\\>\\|bool\\>\\.$#',
|
|
|
|
- 'count' => 1,
|
|
|
|
- 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php',
|
|
|
|
-];
|
|
|
|
$ignoreErrors[] = [
|
|
$ignoreErrors[] = [
|
|
// identifier: argument.type
|
|
// identifier: argument.type
|
|
'message' => '#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\<Throwable\\>, string given\\.$#',
|
|
'message' => '#^Parameter \\#1 \\$exception of method PHPUnit\\\\Framework\\\\TestCase\\:\\:expectException\\(\\) expects class\\-string\\<Throwable\\>, string given\\.$#',
|