|
535 | 535 | 'count' => 1, |
536 | 536 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', |
537 | 537 | ]; |
538 | | -$ignoreErrors[] = [ |
539 | | - 'message' => '#^Binary operation "/" between string\\|WP_Error and 50 results in an error\\.$#', |
540 | | - 'identifier' => 'binaryOp.invalid', |
541 | | - 'count' => 1, |
542 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', |
543 | | -]; |
544 | 538 | $ignoreErrors[] = [ |
545 | 539 | 'message' => '#^Cannot access property \\$front_or_home on array\\|WP_Post\\.$#', |
546 | 540 | 'identifier' => 'property.nonObject', |
|
733 | 727 | 'count' => 1, |
734 | 728 | 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', |
735 | 729 | ]; |
736 | | -$ignoreErrors[] = [ |
737 | | - 'message' => '#^Binary operation "\\+" between int\\<1, max\\> and string results in an error\\.$#', |
738 | | - 'identifier' => 'binaryOp.invalid', |
739 | | - 'count' => 1, |
740 | | - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', |
741 | | -]; |
742 | 730 | $ignoreErrors[] = [ |
743 | 731 | 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', |
744 | 732 | 'identifier' => 'varTag.noVariable', |
|
865 | 853 | 'count' => 1, |
866 | 854 | 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', |
867 | 855 | ]; |
868 | | -$ignoreErrors[] = [ |
869 | | - 'message' => '#^Binary operation "\\+" between string and 1 results in an error\\.$#', |
870 | | - 'identifier' => 'binaryOp.invalid', |
871 | | - 'count' => 1, |
872 | | - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', |
873 | | -]; |
874 | 856 | $ignoreErrors[] = [ |
875 | 857 | 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', |
876 | 858 | 'identifier' => 'binaryOp.invalid', |
|
1105 | 1087 | 'count' => 1, |
1106 | 1088 | 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', |
1107 | 1089 | ]; |
1108 | | -$ignoreErrors[] = [ |
1109 | | - 'message' => '#^Function array_key_first\\(\\) should return int\\|string\\|null but return statement is missing\\.$#', |
1110 | | - 'identifier' => 'return.missing', |
1111 | | - 'count' => 1, |
1112 | | - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', |
1113 | | -]; |
1114 | 1090 | $ignoreErrors[] = [ |
1115 | 1091 | 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', |
1116 | 1092 | 'identifier' => 'property.nonObject', |
|
1183 | 1159 | 'count' => 1, |
1184 | 1160 | 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', |
1185 | 1161 | ]; |
1186 | | -$ignoreErrors[] = [ |
1187 | | - 'message' => '#^Binary operation "\\+\\=" between string and 7 results in an error\\.$#', |
1188 | | - 'identifier' => 'assignOp.invalid', |
1189 | | - 'count' => 1, |
1190 | | - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', |
1191 | | -]; |
1192 | 1162 | $ignoreErrors[] = [ |
1193 | 1163 | 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$key$#', |
1194 | 1164 | 'identifier' => 'parameter.notFound', |
|
1207 | 1177 | 'count' => 1, |
1208 | 1178 | 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', |
1209 | 1179 | ]; |
1210 | | -$ignoreErrors[] = [ |
1211 | | - 'message' => '#^Binary operation "\\-" between string and int results in an error\\.$#', |
1212 | | - 'identifier' => 'binaryOp.invalid', |
1213 | | - 'count' => 3, |
1214 | | - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', |
1215 | | -]; |
1216 | | -$ignoreErrors[] = [ |
1217 | | - 'message' => '#^PHPDoc tag @var has invalid value \\(\\[string, array\\]\\|null\\)\\: Unexpected token "\\]", expected \'\\(\' at offset 202 on line 8$#', |
1218 | | - 'identifier' => 'phpDoc.parseError', |
1219 | | - 'count' => 1, |
1220 | | - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-processor-state.php', |
1221 | | -]; |
1222 | 1180 | $ignoreErrors[] = [ |
1223 | 1181 | 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', |
1224 | 1182 | 'identifier' => 'varTag.noVariable', |
|
1261 | 1219 | 'count' => 1, |
1262 | 1220 | 'path' => __DIR__ . '/../../../src/wp-includes/option.php', |
1263 | 1221 | ]; |
1264 | | -$ignoreErrors[] = [ |
1265 | | - 'message' => '#^Binary operation "\\+\\=" between string and 3600 results in an error\\.$#', |
1266 | | - 'identifier' => 'assignOp.invalid', |
1267 | | - 'count' => 1, |
1268 | | - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', |
1269 | | -]; |
1270 | 1222 | $ignoreErrors[] = [ |
1271 | 1223 | 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', |
1272 | 1224 | 'identifier' => 'property.nonObject', |
|
1339 | 1291 | 'count' => 1, |
1340 | 1292 | 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', |
1341 | 1293 | ]; |
1342 | | -$ignoreErrors[] = [ |
1343 | | - 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_terms\\(\\) should return WP_Error\\|null but return statement is missing\\.$#', |
1344 | | - 'identifier' => 'return.missing', |
1345 | | - 'count' => 1, |
1346 | | - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', |
1347 | | -]; |
1348 | 1294 | $ignoreErrors[] = [ |
1349 | 1295 | 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', |
1350 | 1296 | 'identifier' => 'property.nonObject', |
|
1363 | 1309 | 'count' => 1, |
1364 | 1310 | 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', |
1365 | 1311 | ]; |
1366 | | -$ignoreErrors[] = [ |
1367 | | - 'message' => '#^Binary operation "/" between string\\|WP_Error and int results in an error\\.$#', |
1368 | | - 'identifier' => 'binaryOp.invalid', |
1369 | | - 'count' => 1, |
1370 | | - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php', |
1371 | | -]; |
1372 | 1312 | $ignoreErrors[] = [ |
1373 | 1313 | 'message' => '#^Cannot access property \\$object_id on array\\|int\\|string\\|WP_Term\\.$#', |
1374 | 1314 | 'identifier' => 'property.nonObject', |
|
0 commit comments