|
848 | 848 | 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php', |
849 | 849 | ]; |
850 | 850 | $ignoreErrors[] = [ |
851 | | - 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) should return array\\{list\\<list\\<array\\{int, string\\}\\|int\\|string\\>\\>, array\\{3\\: false\\}\\} but returns array\\{list\\<non\\-empty\\-list\\<\'\\(\'\\|\'\\)\'\\|\',\'\\|\';\'\\|\'\\{\'\\|\'\\}\'\\|array\\{0\\: int, 1\\?\\: string\\}\\>\\>, array\\{3\\: false\\}\\}\\.$#', |
| 851 | + 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) should return array\\{list\\<list\\<array\\{int, string\\}\\|int\\|string\\>\\>, array\\{3\\: false\\}\\} but returns array\\{list\\<non\\-empty\\-list\\<array\\{0\\: int, 1\\?\\: string\\}\\|\\(literal\\-string&non\\-falsy\\-string\\)\\>\\>, array\\{3\\: false\\}\\}\\.$#', |
852 | 852 | 'identifier' => 'return.type', |
853 | 853 | 'count' => 1, |
854 | 854 | 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php', |
|
961 | 961 | 'count' => 1, |
962 | 962 | 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', |
963 | 963 | ]; |
964 | | -$ignoreErrors[] = [ |
965 | | - 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}\\>\\.$#', |
966 | | - 'identifier' => 'offsetAccess.notFound', |
967 | | - 'count' => 1, |
968 | | - 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php', |
969 | | -]; |
970 | 964 | $ignoreErrors[] = [ |
971 | 965 | 'message' => '#^Offset mixed might not exist on array\\<string, int\\>\\.$#', |
972 | 966 | 'identifier' => 'offsetAccess.notFound', |
|
1099 | 1093 | 'count' => 2, |
1100 | 1094 | 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php', |
1101 | 1095 | ]; |
1102 | | -$ignoreErrors[] = [ |
1103 | | - 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, int\\>\\.$#', |
1104 | | - 'identifier' => 'offsetAccess.notFound', |
1105 | | - 'count' => 1, |
1106 | | - 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/DateTimeCreateFromFormatCallFixer.php', |
1107 | | -]; |
1108 | 1096 | $ignoreErrors[] = [ |
1109 | 1097 | 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\ImplodeCallFixer\\:\\:getArgumentIndices\\(\\) should return array\\<int, int\\> but returns array\\<int\\|string, int\\|null\\>\\.$#', |
1110 | 1098 | 'identifier' => 'return.type', |
|
1159 | 1147 | 'count' => 1, |
1160 | 1148 | 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php', |
1161 | 1149 | ]; |
1162 | | -$ignoreErrors[] = [ |
1163 | | - 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, PhpCsFixer\\\\DocBlock\\\\DocBlock\\>\\.$#', |
1164 | | - 'identifier' => 'offsetAccess.notFound', |
1165 | | - 'count' => 1, |
1166 | | - 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php', |
1167 | | -]; |
1168 | 1150 | $ignoreErrors[] = [ |
1169 | 1151 | 'message' => '#^Parameter \\#1 \\$types of method PhpCsFixer\\\\DocBlock\\\\Annotation\\:\\:setTypes\\(\\) expects list\\<string\\>, array\\<int\\<0, max\\>, string\\> given\\.$#', |
1170 | 1152 | 'identifier' => 'argument.type', |
|
1501 | 1483 | 'count' => 1, |
1502 | 1484 | 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitConstructFixer.php', |
1503 | 1485 | ]; |
1504 | | -$ignoreErrors[] = [ |
1505 | | - 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}\\>\\.$#', |
1506 | | - 'identifier' => 'offsetAccess.notFound', |
1507 | | - 'count' => 1, |
1508 | | - 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDataProviderMethodOrderFixer.php', |
1509 | | -]; |
1510 | 1486 | $ignoreErrors[] = [ |
1511 | 1487 | 'message' => '#^Cannot call method isGivenKind\\(\\) on PhpCsFixer\\\\Tokenizer\\\\Token\\|false\\.$#', |
1512 | 1488 | 'identifier' => 'method.nonObject', |
|
2035 | 2011 | 'count' => 1, |
2036 | 2012 | 'path' => __DIR__ . '/../../src/Linter/CachingLinter.php', |
2037 | 2013 | ]; |
2038 | | -$ignoreErrors[] = [ |
2039 | | - 'message' => '#^Method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) should return string but returns list\\<string\\>\\|string\\.$#', |
2040 | | - 'identifier' => 'return.type', |
2041 | | - 'count' => 2, |
2042 | | - 'path' => __DIR__ . '/../../src/Preg.php', |
2043 | | -]; |
2044 | 2014 | $ignoreErrors[] = [ |
2045 | 2015 | 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#', |
2046 | 2016 | 'identifier' => 'argument.type', |
|
2149 | 2119 | 'count' => 3, |
2150 | 2120 | 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php', |
2151 | 2121 | ]; |
2152 | | -$ignoreErrors[] = [ |
2153 | | - 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\>\\.$#', |
2154 | | - 'identifier' => 'offsetAccess.notFound', |
2155 | | - 'count' => 6, |
2156 | | - 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php', |
2157 | | -]; |
2158 | 2122 | $ignoreErrors[] = [ |
2159 | 2123 | 'message' => '#^Parameter \\#1 \\$analysis of static method PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\ControlCaseStructuresAnalyzer\\:\\:buildControlCaseStructureAnalysis\\(\\) expects array\\{kind\\: int, index\\: int, open\\: int, end\\: int, cases\\: list\\<array\\{index\\: int, open\\: int\\}\\>, default\\: array\\{index\\: int, open\\: int\\}\\|null\\}, non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\> given\\.$#', |
2160 | 2124 | 'identifier' => 'argument.type', |
2161 | 2125 | 'count' => 2, |
2162 | 2126 | 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php', |
2163 | 2127 | ]; |
2164 | | -$ignoreErrors[] = [ |
2165 | | - 'message' => '#^Offset non\\-empty\\-string might not exist on array\\<non\\-empty\\-string, list\\<int\\>\\>\\.$#', |
2166 | | - 'identifier' => 'offsetAccess.notFound', |
2167 | | - 'count' => 1, |
2168 | | - 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/SwitchAnalyzer.php', |
2169 | | -]; |
2170 | 2128 | $ignoreErrors[] = [ |
2171 | 2129 | 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findGivenKind\\(\\) should return array\\<int, array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\> but returns array\\<\'\'\\|int, array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#', |
2172 | 2130 | 'identifier' => 'return.type', |
|
2203 | 2161 | 'count' => 1, |
2204 | 2162 | 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', |
2205 | 2163 | ]; |
2206 | | -$ignoreErrors[] = [ |
2207 | | - 'message' => '#^Offset int\\|string might not exist on non\\-empty\\-array\\<int\\|string, int\\<0, max\\>\\>\\.$#', |
2208 | | - 'identifier' => 'offsetAccess.notFound', |
2209 | | - 'count' => 1, |
2210 | | - 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php', |
2211 | | -]; |
2212 | 2164 | $ignoreErrors[] = [ |
2213 | 2165 | 'message' => '#^Offset non\\-empty\\-string might not exist on array\\<non\\-empty\\-string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>\\.$#', |
2214 | 2166 | 'identifier' => 'offsetAccess.notFound', |
|
2413 | 2365 | 'count' => 1, |
2414 | 2366 | 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', |
2415 | 2367 | ]; |
2416 | | -$ignoreErrors[] = [ |
2417 | | - 'message' => '#^Offset class\\-string might not exist on array\\<class\\-string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>\\.$#', |
2418 | | - 'identifier' => 'offsetAccess.notFound', |
2419 | | - 'count' => 1, |
2420 | | - 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php', |
2421 | | -]; |
2422 | 2368 | $ignoreErrors[] = [ |
2423 | 2369 | 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<ReflectionParameter\\>\\.$#', |
2424 | 2370 | 'identifier' => 'offsetAccess.notFound', |
|
2779 | 2725 | 'count' => 1, |
2780 | 2726 | 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php', |
2781 | 2727 | ]; |
2782 | | -$ignoreErrors[] = [ |
2783 | | - 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) expects string, list\\<string\\>\\|string given\\.$#', |
2784 | | - 'identifier' => 'argument.type', |
2785 | | - 'count' => 1, |
2786 | | - 'path' => __DIR__ . '/../../tests/PregTest.php', |
2787 | | -]; |
2788 | | -$ignoreErrors[] = [ |
2789 | | - 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, list\\<string\\>\\|string given\\.$#', |
2790 | | - 'identifier' => 'argument.type', |
2791 | | - 'count' => 1, |
2792 | | - 'path' => __DIR__ . '/../../tests/PregTest.php', |
2793 | | -]; |
2794 | | -$ignoreErrors[] = [ |
2795 | | - 'message' => '#^Parameter \\#3 \\$subject of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, list\\<string\\>\\|string given\\.$#', |
2796 | | - 'identifier' => 'argument.type', |
2797 | | - 'count' => 1, |
2798 | | - 'path' => __DIR__ . '/../../tests/PregTest.php', |
2799 | | -]; |
2800 | 2728 | $ignoreErrors[] = [ |
2801 | 2729 | 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#', |
2802 | 2730 | 'identifier' => 'offsetAccess.notFound', |
|
0 commit comments