Skip to content

Commit 546cef0

Browse files
committed
chore: regenerate PHPStan baselines after rebase
1 parent d4b028f commit 546cef0

7 files changed

Lines changed: 3975 additions & 5055 deletions

File tree

tests/phpstan/baseline/level-0.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,50 @@
22

33
$ignoreErrors = [];
44
$ignoreErrors[] = [
5+
// identifier: return.missing
56
'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#',
6-
'identifier' => 'return.missing',
77
'count' => 1,
88
'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php',
99
];
1010
$ignoreErrors[] = [
11+
// identifier: class.notFound
1112
'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#',
12-
'identifier' => 'class.notFound',
13-
'count' => 1,
14-
'path' => __DIR__ . '/../../../src/wp-admin/press-this.php',
15-
];
16-
$ignoreErrors[] = [
17-
'message' => '#^Path in include\\(\\) "/press\\-this/class\\-wp\\-press\\-this\\-plugin\\.php" is not a file or it does not exist\\.$#',
18-
'identifier' => 'include.fileNotFound',
1913
'count' => 1,
2014
'path' => __DIR__ . '/../../../src/wp-admin/press-this.php',
2115
];
2216
$ignoreErrors[] = [
17+
// identifier: return.missing
2318
'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#',
24-
'identifier' => 'return.missing',
2519
'count' => 1,
2620
'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-setting.php',
2721
];
2822
$ignoreErrors[] = [
23+
// identifier: return.missing
2924
'message' => '#^Method WP_Customize_Filter_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#',
30-
'identifier' => 'return.missing',
3125
'count' => 1,
3226
'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-filter-setting.php',
3327
];
3428
$ignoreErrors[] = [
29+
// identifier: return.missing
3530
'message' => '#^Method WP_Customize_Header_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#',
36-
'identifier' => 'return.missing',
37-
'count' => 2,
31+
'count' => 1,
3832
'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php',
3933
];
4034
$ignoreErrors[] = [
35+
// identifier: class.notFound
36+
'message' => '#^Class GdImage not found\\.$#',
37+
'count' => 1,
38+
'path' => __DIR__ . '/../../../src/wp-includes/media.php',
39+
];
40+
$ignoreErrors[] = [
41+
// identifier: new.static
4142
'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
42-
'identifier' => 'new.static',
4343
'count' => 1,
4444
'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php',
4545
];
4646
$ignoreErrors[] = [
47+
// identifier: variable.undefined
4748
'message' => '#^Undefined variable\\: \\$s$#',
48-
'identifier' => 'variable.undefined',
4949
'count' => 1,
5050
'path' => __DIR__ . '/../../../src/wp-includes/template.php',
5151
];

0 commit comments

Comments
 (0)