Skip to content

Commit 9f09845

Browse files
committed
phpstan: regenerate baselines
1 parent 020f347 commit 9f09845

File tree

2 files changed

+0
-54
lines changed

2 files changed

+0
-54
lines changed

tests/phpstan/baseline/level-0.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@
1919
'count' => 1,
2020
'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php',
2121
];
22-
$ignoreErrors[] = [
23-
'message' => '#^Function get_file not found\\.$#',
24-
'identifier' => 'function.notFound',
25-
'count' => 1,
26-
'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php',
27-
];
28-
$ignoreErrors[] = [
29-
'message' => '#^Function get_file not found\\.$#',
30-
'identifier' => 'function.notFound',
31-
'count' => 1,
32-
'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php',
33-
];
3422
$ignoreErrors[] = [
3523
'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#',
3624
'identifier' => 'class.notFound',

tests/phpstan/baseline/level-5.php

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@
8585
'count' => 1,
8686
'path' => __DIR__ . '/../../../src/wp-admin/edit.php',
8787
];
88-
$ignoreErrors[] = [
89-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#',
90-
'identifier' => 'argument.type',
91-
'count' => 1,
92-
'path' => __DIR__ . '/../../../src/wp-admin/includes/admin-filters.php',
93-
];
9488
$ignoreErrors[] = [
9589
'message' => '#^Parameter \\#1 \\$attachment of function wp_get_attachment_id3_keys expects WP_Post, stdClass given\\.$#',
9690
'identifier' => 'argument.type',
@@ -739,12 +733,6 @@
739733
'count' => 1,
740734
'path' => __DIR__ . '/../../../src/wp-includes/author-template.php',
741735
];
742-
$ignoreErrors[] = [
743-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#',
744-
'identifier' => 'argument.type',
745-
'count' => 1,
746-
'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php',
747-
];
748736
$ignoreErrors[] = [
749737
'message' => '#^Parameter \\#1 \\$separator of function explode expects string, float given\\.$#',
750738
'identifier' => 'argument.type',
@@ -793,12 +781,6 @@
793781
'count' => 1,
794782
'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php',
795783
];
796-
$ignoreErrors[] = [
797-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_admin_bar_header\' given\\.$#',
798-
'identifier' => 'argument.type',
799-
'count' => 2,
800-
'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php',
801-
];
802784
$ignoreErrors[] = [
803785
'message' => '#^Parameter \\#1 \\$name of class WP_Block_Parser_Block constructor expects string, null given\\.$#',
804786
'identifier' => 'argument.type',
@@ -1171,30 +1153,6 @@
11711153
'count' => 1,
11721154
'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php',
11731155
];
1174-
$ignoreErrors[] = [
1175-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_embed_styles\' given\\.$#',
1176-
'identifier' => 'argument.type',
1177-
'count' => 1,
1178-
'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php',
1179-
];
1180-
$ignoreErrors[] = [
1181-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#',
1182-
'identifier' => 'argument.type',
1183-
'count' => 1,
1184-
'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php',
1185-
];
1186-
$ignoreErrors[] = [
1187-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'the_block_template…\' given\\.$#',
1188-
'identifier' => 'argument.type',
1189-
'count' => 1,
1190-
'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php',
1191-
];
1192-
$ignoreErrors[] = [
1193-
'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_print_auto_sizes…\' given\\.$#',
1194-
'identifier' => 'argument.type',
1195-
'count' => 1,
1196-
'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php',
1197-
];
11981156
$ignoreErrors[] = [
11991157
'message' => '#^Parameter \\#1 \\$response of method WP_REST_Server\\:\\:response_to_data\\(\\) expects WP_REST_Response, WP_HTTP_Response given\\.$#',
12001158
'identifier' => 'argument.type',

0 commit comments

Comments
 (0)