Skip to content

Commit a2040b8

Browse files
committed
Phpstan V2
1 parent a936254 commit a2040b8

File tree

3 files changed

+68
-20
lines changed

3 files changed

+68
-20
lines changed

composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@
9595
"mitoteam/jpgraph": "^10.3",
9696
"mpdf/mpdf": "^8.1.1",
9797
"phpcompatibility/php-compatibility": "^9.3",
98-
"phpstan/phpstan": "^1.1",
99-
"phpstan/phpstan-phpunit": "^1.0",
98+
"phpstan/phpstan": "^1.1 || ^2.0",
99+
"phpstan/phpstan-phpunit": "^1.0 || ^2.0",
100+
"phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0",
100101
"phpunit/phpunit": "^10.5",
101102
"squizlabs/php_codesniffer": "^3.7",
102103
"tecnickcom/tcpdf": "^6.5"

composer.lock

+64-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon.dist

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ includes:
44
- vendor/phpstan/phpstan-phpunit/rules.neon
55
- vendor/composer/pcre/extension.neon
66
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
7+
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
78

89
parameters:
910
level: 8

0 commit comments

Comments
 (0)