Skip to content

Commit f83cc5d

Browse files
committed
Update PHPStan version
1 parent 6838fc2 commit f83cc5d

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
"squizlabs/php_codesniffer": "^4.0.1",
5454
"symfony/cache": "^4.4 || ^5 || ^6 || ^7 || ^8",
5555
"symfony/event-dispatcher": "^4.4 || ^5 || ^6 || ^7 || ^8",
56-
"phpstan/phpstan": "^1.8.1",
57-
"phpstan/phpstan-deprecation-rules": "^1.1",
58-
"spaze/phpstan-disallowed-calls": "^2.11",
56+
"phpstan/phpstan": "^2.1.38",
57+
"phpstan/phpstan-deprecation-rules": "^2.0.3",
58+
"spaze/phpstan-disallowed-calls": "^4.7.0",
5959
"phpunit/phpunit": "^12.5.8",
6060
"php-http/guzzle7-adapter": "^1.0",
6161
"monolog/monolog": "^2.9.1 || ^3.0",

phpstan.neon.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ includes:
99

1010
parameters:
1111
level: 5
12-
checkAlwaysTrueCheckTypeFunctionCall: true
13-
checkAlwaysTrueInstanceof: true
14-
checkAlwaysTrueStrictComparison: true
1512
checkExplicitMixedMissingReturn: true
1613
checkFunctionNameCase: true
1714
checkInternalClassCaseSensitivity: true

0 commit comments

Comments
 (0)