Skip to content

Commit a3005aa

Browse files
committed
chore: bump phpstan to v1.12.11
1 parent 6e3a9f6 commit a3005aa

File tree

3 files changed

+2
-362
lines changed

3 files changed

+2
-362
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"squizlabs/php_codesniffer": "3.10.3",
2121
"wp-coding-standards/wpcs": "~3.1.0",
2222
"phpcompatibility/phpcompatibility-wp": "~2.1.3",
23-
"phpstan/phpstan": "1.12.7",
23+
"phpstan/phpstan": "1.12.11",
2424
"yoast/phpunit-polyfills": "^1.1.0"
2525
},
2626
"config": {

tests/phpstan/baseline/level-2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@
12811281
];
12821282
$ignoreErrors[] = [
12831283
// identifier: binaryOp.invalid
1284-
'message' => '#^Binary operation "\\+" between array\\|int and 1 results in an error\\.$#',
1284+
'message' => '#^Binary operation "\\+" between array\\|int\\<min, \\-1\\>\\|int\\<1, max\\> and 1 results in an error\\.$#',
12851285
'count' => 1,
12861286
'path' => __DIR__ . '/../../../src/wp-includes/comment.php',
12871287
];

0 commit comments

Comments
 (0)