|
523 | 523 | 'count' => 2, |
524 | 524 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', |
525 | 525 | ]; |
526 | | -$ignoreErrors[] = [ |
527 | | - 'message' => '#^Binary operation "\\*" between string and 1\\.0E\\-5 results in an error\\.$#', |
528 | | - 'identifier' => 'binaryOp.invalid', |
529 | | - 'count' => 1, |
530 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', |
531 | | -]; |
532 | 526 | $ignoreErrors[] = [ |
533 | 527 | 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', |
534 | 528 | 'identifier' => 'property.private', |
|
697 | 691 | 'count' => 1, |
698 | 692 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', |
699 | 693 | ]; |
700 | | -$ignoreErrors[] = [ |
701 | | - 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', |
702 | | - 'identifier' => 'binaryOp.invalid', |
703 | | - 'count' => 1, |
704 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', |
705 | | -]; |
706 | 694 | $ignoreErrors[] = [ |
707 | 695 | 'message' => '#^PHPDoc tag @param for parameter \\$type contains unresolvable type\\.$#', |
708 | 696 | 'identifier' => 'parameter.unresolvableType', |
|
884 | 872 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', |
885 | 873 | ]; |
886 | 874 | $ignoreErrors[] = [ |
887 | | - 'message' => '#^Binary operation "\\+" between array\\|int\\<min, \\-1\\>\\|int\\<1, max\\> and 1 results in an error\\.$#', |
| 875 | + 'message' => '#^Binary operation "\\+" between array\\<int\\|WP_Comment\\>\\|int\\<min, \\-1\\>\\|int\\<1, max\\> and 1 results in an error\\.$#', |
888 | 876 | 'identifier' => 'binaryOp.invalid', |
889 | 877 | 'count' => 1, |
890 | 878 | 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', |
|
1051 | 1039 | 'count' => 1, |
1052 | 1040 | 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', |
1053 | 1041 | ]; |
1054 | | -$ignoreErrors[] = [ |
1055 | | - 'message' => '#^Function wp_list_users\\(\\) should return string\\|null but return statement is missing\\.$#', |
1056 | | - 'identifier' => 'return.missing', |
1057 | | - 'count' => 1, |
1058 | | - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', |
1059 | | -]; |
1060 | 1042 | $ignoreErrors[] = [ |
1061 | 1043 | 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', |
1062 | 1044 | 'identifier' => 'varTag.noVariable', |
|
0 commit comments