Skip to content

Commit d8a9f51

Browse files
committed
Update PHPStan to 2.x
1 parent 592c7cc commit d8a9f51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"ergebnis/composer-normalize": ">=2.19 <2.30",
3434
"nikic/php-parser": "< 5.0.1",
3535
"phan/phan": "^5.4.5",
36-
"phpstan/phpstan": "^1.12",
37-
"phpstan/phpstan-strict-rules": "^1.6",
36+
"phpstan/phpstan": "^2.0",
37+
"phpstan/phpstan-strict-rules": "^2.0",
3838
"phpunit/phpunit": "^9.6.15",
3939
"psalm/plugin-phpunit": "^0.19",
4040
"sabre/event": ">= 5.1.6",

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: max
2+
level: 9
33
bootstrapFiles:
44
- %rootDir%/../../../tests/static_analysis_bootstrap.php
55
paths:

0 commit comments

Comments
 (0)