Skip to content

Commit 0840486

Browse files
committed
chore: regenerate baselines
1 parent 5f43db2 commit 0840486

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

tests/phpstan/baseline/level-3.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,12 +583,6 @@
583583
'count' => 1,
584584
'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php',
585585
];
586-
$ignoreErrors[] = [
587-
'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return bool but returns string\\.$#',
588-
'identifier' => 'return.type',
589-
'count' => 1,
590-
'path' => __DIR__ . '/../../../src/wp-includes/embed.php',
591-
];
592586
$ignoreErrors[] = [
593587
'message' => '#^Offset \'basedir\' does not exist on string\\.$#',
594588
'identifier' => 'offsetAccess.notFound',

tests/phpstan/baseline/level-4.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,18 +1159,6 @@
11591159
'count' => 1,
11601160
'path' => __DIR__ . '/../../../src/wp-includes/revision.php',
11611161
];
1162-
$ignoreErrors[] = [
1163-
'message' => '#^Left side of && is always true\\.$#',
1164-
'identifier' => 'booleanAnd.leftAlwaysTrue',
1165-
'count' => 1,
1166-
'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php',
1167-
];
1168-
$ignoreErrors[] = [
1169-
'message' => '#^Strict comparison using \\!\\=\\= between \'\' and int will always evaluate to true\\.$#',
1170-
'identifier' => 'notIdentical.alwaysTrue',
1171-
'count' => 1,
1172-
'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php',
1173-
];
11741162
$ignoreErrors[] = [
11751163
'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#',
11761164
'identifier' => 'isset.property',
@@ -1183,12 +1171,6 @@
11831171
'count' => 1,
11841172
'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php',
11851173
];
1186-
$ignoreErrors[] = [
1187-
'message' => '#^Strict comparison using \\!\\=\\= between null and mixed will always evaluate to true\\.$#',
1188-
'identifier' => 'notIdentical.alwaysTrue',
1189-
'count' => 1,
1190-
'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php',
1191-
];
11921174
$ignoreErrors[] = [
11931175
'message' => '#^While loop condition is always true\\.$#',
11941176
'identifier' => 'while.alwaysTrue',

0 commit comments

Comments
 (0)