|
133 | 133 | 'count' => 1, |
134 | 134 | 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', |
135 | 135 | ]; |
136 | | -$ignoreErrors[] = [ |
137 | | - // identifier: return.type |
138 | | - 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', |
139 | | - 'count' => 1, |
140 | | - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', |
141 | | -]; |
142 | 136 | $ignoreErrors[] = [ |
143 | 137 | // identifier: assign.propertyType |
144 | 138 | 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', |
|
379 | 373 | 'count' => 1, |
380 | 374 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', |
381 | 375 | ]; |
382 | | -$ignoreErrors[] = [ |
383 | | - // identifier: return.type |
384 | | - 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', |
385 | | - 'count' => 2, |
386 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', |
387 | | -]; |
388 | | -$ignoreErrors[] = [ |
389 | | - // identifier: property.defaultValue |
390 | | - 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\<string, array\\<int, string\\>\\>\\.$#', |
391 | | - 'count' => 1, |
392 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', |
393 | | -]; |
394 | 376 | $ignoreErrors[] = [ |
395 | 377 | // identifier: return.type |
396 | 378 | 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\<int\\|string\\|WP_Term\\>\\|string but returns int\\.$#', |
|
625 | 607 | 'count' => 1, |
626 | 608 | 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', |
627 | 609 | ]; |
628 | | -$ignoreErrors[] = [ |
629 | | - // identifier: return.type |
630 | | - 'message' => '#^Function wp_filter_oembed_result\\(\\) should return string but returns false\\.$#', |
631 | | - 'count' => 1, |
632 | | - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', |
633 | | -]; |
634 | 610 | $ignoreErrors[] = [ |
635 | 611 | // identifier: offsetAccess.notFound |
636 | 612 | 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', |
|
751 | 727 | 'count' => 1, |
752 | 728 | 'path' => __DIR__ . '/../../../src/wp-includes/post.php', |
753 | 729 | ]; |
754 | | -$ignoreErrors[] = [ |
755 | | - // identifier: return.type |
756 | | - 'message' => '#^Function wp_update_attachment_metadata\\(\\) should return int\\|false but returns bool\\.$#', |
757 | | - 'count' => 1, |
758 | | - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', |
759 | | -]; |
760 | 730 | $ignoreErrors[] = [ |
761 | 731 | // identifier: property.phpDocType |
762 | 732 | 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', |
|
0 commit comments