Skip to content

Commit a8dcfa8

Browse files
committed
Bump to phpstan 2.0
1 parent 305b074 commit a8dcfa8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"require-dev": {
2828
"nexusphp/tachycardia": "^2.3",
29-
"phpstan/phpstan": "^1.11",
29+
"phpstan/phpstan": "^2.0",
3030
"phpunit/phpunit": "^10.5 || ^11.2"
3131
},
3232
"minimum-stability": "dev",

phpstan.neon.dist

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ includes:
33

44
parameters:
55
tmpDir: build/phpstan
6-
level: 9
6+
level: 10
77
paths:
88
- src
99
- tests
1010
bootstrapFiles:
1111
- vendor/autoload.php
1212
polluteScopeWithLoopInitialAssignments: false
1313
polluteScopeWithAlwaysIterableForeach: false
14-
checkAlwaysTrueCheckTypeFunctionCall: true
15-
checkAlwaysTrueInstanceof: true
16-
checkAlwaysTrueStrictComparison: true
1714
checkExplicitMixedMissingReturn: true
1815
checkFunctionNameCase: true
1916
checkInternalClassCaseSensitivity: true

0 commit comments

Comments
 (0)