Skip to content

Commit e6ebb67

Browse files
committed
chore: regenerate PHPStan baselines after rebase
1 parent bc5241f commit e6ebb67

7 files changed

Lines changed: 3881 additions & 4907 deletions

File tree

tests/phpstan/baseline/level-0.php

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,44 @@
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: new.static
4136
'message' => '#^Unsafe usage of new static\\(\\)\\.$#',
42-
'identifier' => 'new.static',
4337
'count' => 1,
4438
'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php',
4539
];
4640
$ignoreErrors[] = [
41+
// identifier: variable.undefined
4742
'message' => '#^Undefined variable\\: \\$s$#',
48-
'identifier' => 'variable.undefined',
4943
'count' => 1,
5044
'path' => __DIR__ . '/../../../src/wp-includes/template.php',
5145
];

0 commit comments

Comments
 (0)