|
25 | 25 | 'count' => 1, |
26 | 26 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
27 | 27 | ]; |
28 | | -$ignoreErrors[] = [ |
29 | | - 'message' => '#^Variable \\$results in isset\\(\\) always exists and is not nullable\\.$#', |
30 | | - 'identifier' => 'isset.variable', |
31 | | - 'count' => 1, |
32 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', |
33 | | -]; |
34 | | -$ignoreErrors[] = [ |
35 | | - 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', |
36 | | - 'identifier' => 'isset.variable', |
37 | | - 'count' => 1, |
38 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', |
39 | | -]; |
40 | | -$ignoreErrors[] = [ |
41 | | - 'message' => '#^Variable \\$oitar in isset\\(\\) always exists and is not nullable\\.$#', |
42 | | - 'identifier' => 'isset.variable', |
43 | | - 'count' => 1, |
44 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', |
45 | | -]; |
46 | 28 | $ignoreErrors[] = [ |
47 | 29 | 'message' => '#^Variable \\$transient in isset\\(\\) is never defined\\.$#', |
48 | 30 | 'identifier' => 'isset.variable', |
|
79 | 61 | 'count' => 1, |
80 | 62 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', |
81 | 63 | ]; |
82 | | -$ignoreErrors[] = [ |
83 | | - 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', |
84 | | - 'identifier' => 'isset.variable', |
85 | | - 'count' => 1, |
86 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', |
87 | | -]; |
88 | 64 | $ignoreErrors[] = [ |
89 | 65 | 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', |
90 | 66 | 'identifier' => 'empty.variable', |
|
109 | 85 | 'count' => 1, |
110 | 86 | 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', |
111 | 87 | ]; |
112 | | -$ignoreErrors[] = [ |
113 | | - 'message' => '#^Variable \\$area in isset\\(\\) always exists and is not nullable\\.$#', |
114 | | - 'identifier' => 'isset.variable', |
115 | | - 'count' => 1, |
116 | | - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', |
117 | | -]; |
118 | 88 | $ignoreErrors[] = [ |
119 | 89 | 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', |
120 | 90 | 'identifier' => 'empty.variable', |
|
127 | 97 | 'count' => 2, |
128 | 98 | 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', |
129 | 99 | ]; |
130 | | -$ignoreErrors[] = [ |
131 | | - 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', |
132 | | - 'identifier' => 'isset.variable', |
133 | | - 'count' => 1, |
134 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', |
135 | | -]; |
136 | | -$ignoreErrors[] = [ |
137 | | - 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', |
138 | | - 'identifier' => 'isset.variable', |
139 | | - 'count' => 1, |
140 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', |
141 | | -]; |
142 | | -$ignoreErrors[] = [ |
143 | | - 'message' => '#^Variable \\$category_name in isset\\(\\) always exists and is not nullable\\.$#', |
144 | | - 'identifier' => 'isset.variable', |
145 | | - 'count' => 1, |
146 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', |
147 | | -]; |
148 | | -$ignoreErrors[] = [ |
149 | | - 'message' => '#^Variable \\$pattern_name in isset\\(\\) always exists and is not nullable\\.$#', |
150 | | - 'identifier' => 'isset.variable', |
151 | | - 'count' => 1, |
152 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', |
153 | | -]; |
154 | 100 | $ignoreErrors[] = [ |
155 | 101 | 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', |
156 | 102 | 'identifier' => 'empty.variable', |
|
169 | 115 | 'count' => 1, |
170 | 116 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', |
171 | 117 | ]; |
172 | | -$ignoreErrors[] = [ |
173 | | - 'message' => '#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#', |
174 | | - 'identifier' => 'isset.variable', |
175 | | - 'count' => 2, |
176 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', |
177 | | -]; |
178 | | -$ignoreErrors[] = [ |
179 | | - 'message' => '#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#', |
180 | | - 'identifier' => 'isset.variable', |
181 | | - 'count' => 1, |
182 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', |
183 | | -]; |
184 | | -$ignoreErrors[] = [ |
185 | | - 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', |
186 | | - 'identifier' => 'isset.variable', |
187 | | - 'count' => 1, |
188 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', |
189 | | -]; |
190 | 118 | $ignoreErrors[] = [ |
191 | 119 | 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', |
192 | 120 | 'identifier' => 'isset.variable', |
|
223 | 151 | 'count' => 1, |
224 | 152 | 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', |
225 | 153 | ]; |
226 | | -$ignoreErrors[] = [ |
227 | | - 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', |
228 | | - 'identifier' => 'isset.variable', |
229 | | - 'count' => 1, |
230 | | - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', |
231 | | -]; |
232 | | -$ignoreErrors[] = [ |
233 | | - 'message' => '#^Variable \\$character_reference in isset\\(\\) always exists and is not nullable\\.$#', |
234 | | - 'identifier' => 'isset.variable', |
235 | | - 'count' => 1, |
236 | | - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', |
237 | | -]; |
238 | | -$ignoreErrors[] = [ |
239 | | - 'message' => '#^Variable \\$replacement in isset\\(\\) always exists and is not nullable\\.$#', |
240 | | - 'identifier' => 'isset.variable', |
241 | | - 'count' => 1, |
242 | | - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', |
243 | | -]; |
244 | 154 | $ignoreErrors[] = [ |
245 | 155 | 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', |
246 | 156 | 'identifier' => 'empty.variable', |
247 | 157 | 'count' => 1, |
248 | 158 | 'path' => __DIR__ . '/../../../src/wp-includes/media.php', |
249 | 159 | ]; |
250 | | -$ignoreErrors[] = [ |
251 | | - 'message' => '#^Variable \\$file_info in isset\\(\\) always exists and is not nullable\\.$#', |
252 | | - 'identifier' => 'isset.variable', |
253 | | - 'count' => 1, |
254 | | - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', |
255 | | -]; |
256 | 160 | $ignoreErrors[] = [ |
257 | 161 | 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', |
258 | 162 | 'identifier' => 'empty.variable', |
|
265 | 169 | 'count' => 1, |
266 | 170 | 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', |
267 | 171 | ]; |
268 | | -$ignoreErrors[] = [ |
269 | | - 'message' => '#^Variable \\$wp_actions in isset\\(\\) always exists and is not nullable\\.$#', |
270 | | - 'identifier' => 'isset.variable', |
271 | | - 'count' => 1, |
272 | | - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', |
273 | | -]; |
274 | | -$ignoreErrors[] = [ |
275 | | - 'message' => '#^Variable \\$wp_current_filter in isset\\(\\) always exists and is not nullable\\.$#', |
276 | | - 'identifier' => 'isset.variable', |
277 | | - 'count' => 1, |
278 | | - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', |
279 | | -]; |
280 | | -$ignoreErrors[] = [ |
281 | | - 'message' => '#^Variable \\$wp_filters in isset\\(\\) always exists and is not nullable\\.$#', |
282 | | - 'identifier' => 'isset.variable', |
283 | | - 'count' => 1, |
284 | | - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', |
285 | | -]; |
286 | 172 | $ignoreErrors[] = [ |
287 | 173 | 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', |
288 | 174 | 'identifier' => 'empty.variable', |
|
301 | 187 | 'count' => 1, |
302 | 188 | 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', |
303 | 189 | ]; |
304 | | -$ignoreErrors[] = [ |
305 | | - 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', |
306 | | - 'identifier' => 'isset.variable', |
307 | | - 'count' => 2, |
308 | | - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', |
309 | | -]; |
310 | 190 | $ignoreErrors[] = [ |
311 | 191 | 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', |
312 | 192 | 'identifier' => 'empty.variable', |
|
0 commit comments