|
517 | 517 | 'count' => 1, |
518 | 518 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', |
519 | 519 | ]; |
520 | | -$ignoreErrors[] = [ |
521 | | - 'message' => '#^Call to function is_bool\\(\\) with bool will always evaluate to true\\.$#', |
522 | | - 'identifier' => 'function.alreadyNarrowedType', |
523 | | - 'count' => 1, |
524 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
525 | | -]; |
526 | | -$ignoreErrors[] = [ |
527 | | - 'message' => '#^Property WP_Screen\\:\\:\\$_screen_settings is never written, only read\\.$#', |
528 | | - 'identifier' => 'property.onlyRead', |
529 | | - 'count' => 1, |
530 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
531 | | -]; |
532 | | -$ignoreErrors[] = [ |
533 | | - 'message' => '#^Property WP_Screen\\:\\:\\$_show_screen_options is never written, only read\\.$#', |
534 | | - 'identifier' => 'property.onlyRead', |
535 | | - 'count' => 1, |
536 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
537 | | -]; |
538 | 520 | $ignoreErrors[] = [ |
539 | 521 | 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', |
540 | 522 | 'identifier' => 'isset.property', |
|
547 | 529 | 'count' => 2, |
548 | 530 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
549 | 531 | ]; |
550 | | -$ignoreErrors[] = [ |
551 | | - 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', |
552 | | - 'identifier' => 'identical.alwaysFalse', |
553 | | - 'count' => 2, |
554 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
555 | | -]; |
556 | | -$ignoreErrors[] = [ |
557 | | - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', |
558 | | - 'identifier' => 'deadCode.unreachable', |
559 | | - 'count' => 1, |
560 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', |
561 | | -]; |
562 | 532 | $ignoreErrors[] = [ |
563 | 533 | 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', |
564 | 534 | 'identifier' => 'function.alreadyNarrowedType', |
|
4663 | 4633 | 'count' => 1, |
4664 | 4634 | 'path' => __DIR__ . '/../../../src/wp-settings.php', |
4665 | 4635 | ]; |
4666 | | -$ignoreErrors[] = [ |
4667 | | - 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', |
4668 | | - 'identifier' => 'return.unusedType', |
4669 | | - 'count' => 1, |
4670 | | - 'path' => __DIR__ . '/../../../src/wp-signup.php', |
4671 | | -]; |
4672 | 4636 |
|
4673 | 4637 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
0 commit comments