We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e0b38 commit 7d0c546Copy full SHA for 7d0c546
composer.json
@@ -16,7 +16,7 @@
16
"require-dev": {
17
"ergebnis/composer-normalize": "^2.0",
18
"friendsofphp/php-cs-fixer": "^2.17",
19
- "phpstan/phpstan": "~0.12.0",
+ "phpstan/phpstan": "^2.0",
20
"phpunit/phpunit": "^9.2"
21
},
22
"autoload": {
phpstan.neon
@@ -2,7 +2,8 @@ parameters:
2
level: 7
3
paths: [ src ]
4
ignoreErrors:
5
- - '/If condition is always false/'
6
- - '/If condition is always true/'
7
- - '/Unreachable statement/'
8
-
+ - identifier: deadCode.unreachable
+ - identifier: empty.offset
+ - identifier: if.alwaysFalse
+ - identifier: if.alwaysTrue
9
+ - identifier: method.unused
0 commit comments