Skip to content

Commit

Permalink
Update to PHPStan 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Nov 9, 2024
1 parent 064cffb commit eb5ec5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"php": ">=7.4.0 <8.5",
"nepada/message-bus": "^2.0@dev || ^3.0@dev",
"nette/robot-loader": "^3.3.1@dev || ~3.2.4@dev || ~3.1.2@dev || ^4.0@dev",
"phpstan/phpstan": "^1.10.51"
"phpstan/phpstan": "^2.0@dev"
},
"conflict": {
"nette/finder": "<2.5.1"
},
"require-dev": {
"phpunit/phpunit": "^8.5.21 || ^9.5.10",
"phpstan/phpstan-strict-rules": "1.6.1",
"spaze/phpstan-disallowed-calls": "3.5.1",
"shipmonk/phpstan-rules": "3.2.1",
"phpstan/phpstan-phpunit": "1.4.0",
"phpstan/phpstan-strict-rules": "^2.0@dev",
"spaze/phpstan-disallowed-calls": "dev-spaze/phpstan-2.0@dev",
"shipmonk/phpstan-rules": "dev-phpstan-20@dev",
"phpstan/phpstan-phpunit": "^2.0@dev",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"nepada/coding-standard": "7.14.1",
"composer-runtime-api": "^2.0",
Expand Down
2 changes: 2 additions & 0 deletions phpstan.tests.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ parameters:
ignoreErrors:
-
identifier: phpstanApi.constructor
-
identifier: phpstanApi.classConstant

0 comments on commit eb5ec5b

Please sign in to comment.