|
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
5 | | - 'message' => '#^Call to method __construct\\(\\) of internal class PhpCsFixer\\\\FixerFactory from outside its root namespace PhpCsFixer\\.$#', |
| 5 | + 'rawMessage' => 'Access to constant VERSION of internal class PhpCsFixer\\Console\\Application from outside its root namespace PhpCsFixer.', |
| 6 | + 'identifier' => 'classConstant.internalClass', |
| 7 | + 'count' => 1, |
| 8 | + 'path' => __DIR__ . '/src/Factory.php', |
| 9 | +]; |
| 10 | +$ignoreErrors[] = [ |
| 11 | + 'rawMessage' => 'Comparison operation ">" between int<80100, 80599> and 80599 is always false.', |
| 12 | + 'identifier' => 'greater.alwaysFalse', |
| 13 | + 'count' => 1, |
| 14 | + 'path' => __DIR__ . '/src/Ruleset/AbstractRuleset.php', |
| 15 | +]; |
| 16 | +$ignoreErrors[] = [ |
| 17 | + 'rawMessage' => 'Call to method __construct() of internal class PhpCsFixer\\FixerFactory from outside its root namespace PhpCsFixer.', |
6 | 18 | 'identifier' => 'method.internalClass', |
7 | 19 | 'count' => 1, |
8 | 20 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
9 | 21 | ]; |
10 | 22 | $ignoreErrors[] = [ |
11 | | - 'message' => '#^Call to method __construct\\(\\) of internal class PhpCsFixer\\\\RuleSet\\\\RuleSet from outside its root namespace PhpCsFixer\\.$#', |
| 23 | + 'rawMessage' => 'Call to method __construct() of internal class PhpCsFixer\\RuleSet\\RuleSet from outside its root namespace PhpCsFixer.', |
12 | 24 | 'identifier' => 'method.internalClass', |
13 | 25 | 'count' => 1, |
14 | 26 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
15 | 27 | ]; |
16 | 28 | $ignoreErrors[] = [ |
17 | | - 'message' => '#^Call to method getFixers\\(\\) of internal class PhpCsFixer\\\\FixerFactory from outside its root namespace PhpCsFixer\\.$#', |
| 29 | + 'rawMessage' => 'Call to method getFixers() of internal class PhpCsFixer\\FixerFactory from outside its root namespace PhpCsFixer.', |
18 | 30 | 'identifier' => 'method.internalClass', |
19 | 31 | 'count' => 1, |
20 | 32 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
21 | 33 | ]; |
22 | 34 | $ignoreErrors[] = [ |
23 | | - 'message' => '#^Call to method getRules\\(\\) of internal class PhpCsFixer\\\\RuleSet\\\\RuleSet from outside its root namespace PhpCsFixer\\.$#', |
| 35 | + 'rawMessage' => 'Call to method getRules() of internal class PhpCsFixer\\RuleSet\\RuleSet from outside its root namespace PhpCsFixer.', |
24 | 36 | 'identifier' => 'method.internalClass', |
25 | 37 | 'count' => 1, |
26 | 38 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
27 | 39 | ]; |
28 | 40 | $ignoreErrors[] = [ |
29 | | - 'message' => '#^Call to method registerBuiltInFixers\\(\\) of internal class PhpCsFixer\\\\FixerFactory from outside its root namespace PhpCsFixer\\.$#', |
| 41 | + 'rawMessage' => 'Call to method registerBuiltInFixers() of internal class PhpCsFixer\\FixerFactory from outside its root namespace PhpCsFixer.', |
30 | 42 | 'identifier' => 'method.internalClass', |
31 | 43 | 'count' => 1, |
32 | 44 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
33 | 45 | ]; |
34 | 46 | $ignoreErrors[] = [ |
35 | | - 'message' => '#^Instantiation of internal class PhpCsFixer\\\\FixerFactory\\.$#', |
| 47 | + 'rawMessage' => 'Instantiation of internal class PhpCsFixer\\FixerFactory.', |
36 | 48 | 'identifier' => 'new.internalClass', |
37 | 49 | 'count' => 1, |
38 | 50 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
39 | 51 | ]; |
40 | 52 | $ignoreErrors[] = [ |
41 | | - 'message' => '#^Instantiation of internal class PhpCsFixer\\\\RuleSet\\\\RuleSet\\.$#', |
| 53 | + 'rawMessage' => 'Instantiation of internal class PhpCsFixer\\RuleSet\\RuleSet.', |
42 | 54 | 'identifier' => 'new.internalClass', |
43 | 55 | 'count' => 1, |
44 | 56 | 'path' => __DIR__ . '/src/Test/FixerProvider.php', |
45 | 57 | ]; |
46 | 58 | $ignoreErrors[] = [ |
47 | | - 'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\> will always evaluate to false\\.$#', |
| 59 | + 'rawMessage' => 'Call to static method PHPUnit\\Framework\\Assert::assertEmpty() with non-empty-array<string, PhpCsFixer\\Fixer\\FixerInterface> will always evaluate to false.', |
48 | 60 | 'identifier' => 'staticMethod.impossibleType', |
49 | 61 | 'count' => 1, |
50 | 62 | 'path' => __DIR__ . '/tests/Test/FixerProviderTest.php', |
|
0 commit comments