|
7 | 7 | 'count' => 1, |
8 | 8 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', |
9 | 9 | ]; |
| 10 | +$ignoreErrors[] = [ |
| 11 | + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', |
| 12 | + 'identifier' => 'function.inner', |
| 13 | + 'count' => 13, |
| 14 | + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', |
| 15 | +]; |
| 16 | +$ignoreErrors[] = [ |
| 17 | + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', |
| 18 | + 'identifier' => 'function.inner', |
| 19 | + 'count' => 1, |
| 20 | + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', |
| 21 | +]; |
10 | 22 | $ignoreErrors[] = [ |
11 | 23 | 'message' => '#^Function get_file not found\\.$#', |
12 | 24 | 'identifier' => 'function.notFound', |
|
31 | 43 | 'count' => 1, |
32 | 44 | 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', |
33 | 45 | ]; |
| 46 | +$ignoreErrors[] = [ |
| 47 | + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', |
| 48 | + 'identifier' => 'function.inner', |
| 49 | + 'count' => 1, |
| 50 | + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', |
| 51 | +]; |
34 | 52 | $ignoreErrors[] = [ |
35 | 53 | 'message' => '#^Method WP_Theme_JSON\\:\\:should_override_preset\\(\\) should return bool but return statement is missing\\.$#', |
36 | 54 | 'identifier' => 'return.missing', |
|
0 commit comments