|
793 | 793 | 'count' => 1, |
794 | 794 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', |
795 | 795 | ]; |
796 | | -$ignoreErrors[] = [ |
797 | | - 'message' => '#^Default value of the parameter \\#1 \\$meta_query \\(false\\) of method WP_Meta_Query\\:\\:__construct\\(\\) is incompatible with type array\\.$#', |
798 | | - 'identifier' => 'parameter.defaultValue', |
799 | | - 'count' => 1, |
800 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', |
801 | | -]; |
802 | 796 | $ignoreErrors[] = [ |
803 | 797 | 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', |
804 | 798 | 'identifier' => 'staticClassAccess.privateMethod', |
|
943 | 937 | 'count' => 1, |
944 | 938 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', |
945 | 939 | ]; |
946 | | -$ignoreErrors[] = [ |
947 | | - 'message' => '#^Default value of the parameter \\#1 \\$blog_id \\(string\\) of method WP_User\\:\\:for_blog\\(\\) is incompatible with type int\\.$#', |
948 | | - 'identifier' => 'parameter.defaultValue', |
949 | | - 'count' => 1, |
950 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', |
951 | | -]; |
952 | | -$ignoreErrors[] = [ |
953 | | - 'message' => '#^Default value of the parameter \\#1 \\$site_id \\(string\\) of method WP_User\\:\\:for_site\\(\\) is incompatible with type int\\.$#', |
954 | | - 'identifier' => 'parameter.defaultValue', |
955 | | - 'count' => 1, |
956 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', |
957 | | -]; |
958 | | -$ignoreErrors[] = [ |
959 | | - 'message' => '#^Default value of the parameter \\#2 \\$site_id \\(string\\) of method WP_User\\:\\:init\\(\\) is incompatible with type int\\.$#', |
960 | | - 'identifier' => 'parameter.defaultValue', |
961 | | - 'count' => 1, |
962 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', |
963 | | -]; |
964 | | -$ignoreErrors[] = [ |
965 | | - 'message' => '#^Default value of the parameter \\#3 \\$site_id \\(string\\) of method WP_User\\:\\:__construct\\(\\) is incompatible with type int\\.$#', |
966 | | - 'identifier' => 'parameter.defaultValue', |
967 | | - 'count' => 1, |
968 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', |
969 | | -]; |
970 | | -$ignoreErrors[] = [ |
971 | | - 'message' => '#^Default value of the parameter \\#1 \\$zero \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', |
972 | | - 'identifier' => 'parameter.defaultValue', |
973 | | - 'count' => 1, |
974 | | - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', |
975 | | -]; |
976 | | -$ignoreErrors[] = [ |
977 | | - 'message' => '#^Default value of the parameter \\#2 \\$one \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', |
978 | | - 'identifier' => 'parameter.defaultValue', |
979 | | - 'count' => 1, |
980 | | - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', |
981 | | -]; |
982 | | -$ignoreErrors[] = [ |
983 | | - 'message' => '#^Default value of the parameter \\#3 \\$more \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', |
984 | | - 'identifier' => 'parameter.defaultValue', |
985 | | - 'count' => 1, |
986 | | - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', |
987 | | -]; |
988 | 940 | $ignoreErrors[] = [ |
989 | 941 | 'message' => '#^Binary operation "\\+" between array\\|int\\<min, \\-1\\>\\|int\\<1, max\\> and 1 results in an error\\.$#', |
990 | 942 | 'identifier' => 'binaryOp.invalid', |
|
1093 | 1045 | 'count' => 3, |
1094 | 1046 | 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', |
1095 | 1047 | ]; |
1096 | | -$ignoreErrors[] = [ |
1097 | | - 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function _get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', |
1098 | | - 'identifier' => 'parameter.defaultValue', |
1099 | | - 'count' => 1, |
1100 | | - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', |
1101 | | -]; |
1102 | | -$ignoreErrors[] = [ |
1103 | | - 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', |
1104 | | - 'identifier' => 'parameter.defaultValue', |
1105 | | - 'count' => 1, |
1106 | | - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', |
1107 | | -]; |
1108 | | -$ignoreErrors[] = [ |
1109 | | - 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function post_comments_feed_link\\(\\) is incompatible with type int\\.$#', |
1110 | | - 'identifier' => 'parameter.defaultValue', |
1111 | | - 'count' => 1, |
1112 | | - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', |
1113 | | -]; |
1114 | 1048 | $ignoreErrors[] = [ |
1115 | 1049 | 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', |
1116 | 1050 | 'identifier' => 'property.nonObject', |
|
1123 | 1057 | 'count' => 2, |
1124 | 1058 | 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', |
1125 | 1059 | ]; |
1126 | | -$ignoreErrors[] = [ |
1127 | | - 'message' => '#^Cannot call method has_param\\(\\) on array\\.$#', |
1128 | | - 'identifier' => 'method.nonObject', |
1129 | | - 'count' => 1, |
1130 | | - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', |
1131 | | -]; |
1132 | 1060 | $ignoreErrors[] = [ |
1133 | 1061 | 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', |
1134 | 1062 | 'identifier' => 'property.nonObject', |
|
1153 | 1081 | 'count' => 1, |
1154 | 1082 | 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', |
1155 | 1083 | ]; |
1156 | | -$ignoreErrors[] = [ |
1157 | | - 'message' => '#^PHPDoc tag @param has invalid value \\(WP_REST_Controller \\$this The current instance of the controller\\.\\)\\: Unexpected token "\\$this", expected variable at offset 401 on line 9$#', |
1158 | | - 'identifier' => 'phpDoc.parseError', |
1159 | | - 'count' => 1, |
1160 | | - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', |
1161 | | -]; |
1162 | 1084 | $ignoreErrors[] = [ |
1163 | 1085 | 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', |
1164 | 1086 | 'identifier' => 'property.nonObject', |
|
0 commit comments