|
277 | 277 | 'count' => 1, |
278 | 278 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', |
279 | 279 | ]; |
280 | | -$ignoreErrors[] = [ |
281 | | - 'message' => '#^Property WP_Comment\\:\\:\\$comment_karma \\(string\\) does not accept default value of type int\\.$#', |
282 | | - 'identifier' => 'property.defaultValue', |
283 | | - 'count' => 1, |
284 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', |
285 | | -]; |
286 | | -$ignoreErrors[] = [ |
287 | | - 'message' => '#^Property WP_Comment\\:\\:\\$comment_parent \\(string\\) does not accept default value of type int\\.$#', |
288 | | - 'identifier' => 'property.defaultValue', |
289 | | - 'count' => 1, |
290 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', |
291 | | -]; |
292 | | -$ignoreErrors[] = [ |
293 | | - 'message' => '#^Property WP_Comment\\:\\:\\$comment_post_ID \\(string\\) does not accept default value of type int\\.$#', |
294 | | - 'identifier' => 'property.defaultValue', |
295 | | - 'count' => 1, |
296 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', |
297 | | -]; |
298 | | -$ignoreErrors[] = [ |
299 | | - 'message' => '#^Property WP_Comment\\:\\:\\$user_id \\(string\\) does not accept default value of type int\\.$#', |
300 | | - 'identifier' => 'property.defaultValue', |
301 | | - 'count' => 1, |
302 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', |
303 | | -]; |
304 | 280 | $ignoreErrors[] = [ |
305 | 281 | 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', |
306 | 282 | 'identifier' => 'property.defaultValue', |
|
391 | 367 | 'count' => 1, |
392 | 368 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', |
393 | 369 | ]; |
394 | | -$ignoreErrors[] = [ |
395 | | - 'message' => '#^Property WP_Post\\:\\:\\$comment_count \\(string\\) does not accept default value of type int\\.$#', |
396 | | - 'identifier' => 'property.defaultValue', |
397 | | - 'count' => 1, |
398 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', |
399 | | -]; |
400 | | -$ignoreErrors[] = [ |
401 | | - 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept default value of type int\\.$#', |
402 | | - 'identifier' => 'property.defaultValue', |
403 | | - 'count' => 1, |
404 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', |
405 | | -]; |
406 | 370 | $ignoreErrors[] = [ |
407 | 371 | 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', |
408 | 372 | 'identifier' => 'return.empty', |
|
445 | 409 | 'count' => 1, |
446 | 410 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', |
447 | 411 | ]; |
| 412 | +$ignoreErrors[] = [ |
| 413 | + 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\<string, array\\<string, mixed\\>\\> but returns array\\<string, list\\<mixed\\>\\>\\.$#', |
| 414 | + 'identifier' => 'return.type', |
| 415 | + 'count' => 1, |
| 416 | + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', |
| 417 | +]; |
448 | 418 | $ignoreErrors[] = [ |
449 | 419 | 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', |
450 | 420 | 'identifier' => 'return.type', |
|
0 commit comments