Skip to content

Commit a1d496e

Browse files
committed
PHPStan fix
1 parent 44271e7 commit a1d496e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require-dev": {
1919
"phpstan/phpstan": "^2.1.11",
20-
"phpstan/phpstan-phpunit": "^2",
20+
"phpstan/phpstan-phpunit": "^2.0.5",
2121
"phpunit/phpunit": "^12.0.10"
2222
},
2323
"autoload": {

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertNotEmpty\(\) with false will always evaluate to false\.$#'
5-
identifier: staticMethod.impossibleType
6-
count: 1
7-
path: tests/ConfigTest.php
8-
93
-
104
message: '#^Strict comparison using \!\=\= between false and array\{allow_mixed\: true\}\|array\{comment_type\: ''all_multiline''\}\|array\{const\: ''single'', property\: ''single'', method\: ''single''\}\|array\{default\: ''align_single_space''\}\|array\{include\: array\{''@internal''\}\}\|array\{keep_multiple_spaces_after_comma\: true\}\|array\{order\: array\{''use_trait'', ''constant_public'', ''constant_protected'', ''constant_private'', ''property'', ''construct'', ''destruct'', ''magic'', \.\.\.\}\}\|array\{spacing\: ''one''\}\|true will always evaluate to true\.$#'
115
identifier: notIdentical.alwaysTrue

0 commit comments

Comments
 (0)