|
1 | 1 | <?php declare(strict_types = 1); |
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
4 | | -$ignoreErrors[] = [ |
5 | | - 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author\\.$#', |
6 | | - 'identifier' => 'variable.undefined', |
7 | | - 'count' => 1, |
8 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
9 | | -]; |
10 | | -$ignoreErrors[] = [ |
11 | | - 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_email\\.$#', |
12 | | - 'identifier' => 'variable.undefined', |
13 | | - 'count' => 1, |
14 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
15 | | -]; |
16 | | -$ignoreErrors[] = [ |
17 | | - 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_url\\.$#', |
18 | | - 'identifier' => 'variable.undefined', |
19 | | - 'count' => 1, |
20 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
21 | | -]; |
22 | | -$ignoreErrors[] = [ |
23 | | - 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$user_id\\.$#', |
24 | | - 'identifier' => 'variable.undefined', |
25 | | - 'count' => 1, |
26 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
27 | | -]; |
28 | 4 | $ignoreErrors[] = [ |
29 | 5 | 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', |
30 | 6 | 'identifier' => 'isset.variable', |
|
97 | 73 | 'count' => 1, |
98 | 74 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', |
99 | 75 | ]; |
100 | | -$ignoreErrors[] = [ |
101 | | - 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', |
102 | | - 'identifier' => 'empty.variable', |
103 | | - 'count' => 1, |
104 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', |
105 | | -]; |
106 | 76 | $ignoreErrors[] = [ |
107 | 77 | 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', |
108 | 78 | 'identifier' => 'empty.variable', |
109 | 79 | 'count' => 1, |
110 | 80 | 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', |
111 | 81 | ]; |
112 | | -$ignoreErrors[] = [ |
113 | | - 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', |
114 | | - 'identifier' => 'empty.variable', |
115 | | - 'count' => 1, |
116 | | - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', |
117 | | -]; |
118 | 82 | $ignoreErrors[] = [ |
119 | 83 | 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', |
120 | 84 | 'identifier' => 'empty.variable', |
|
0 commit comments