Skip to content

Commit 6958ec1

Browse files
committed
feat: migrate PHPStan 1 => 2
1 parent 6b42484 commit 6958ec1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"nyholm/nsa": "^1.3",
5757
"nyholm/psr7": "^1.8",
5858
"nyholm/symfony-bundle-test": "^3.1",
59-
"phpstan/phpstan": "^1.9.2",
59+
"phpstan/phpstan": "^2.1",
6060
"psr/http-client": "^1.0",
6161
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
6262
"symfony/cache": "^6.4 || ^7.0 || ^8.0",
@@ -78,7 +78,8 @@
7878
}
7979
},
8080
"scripts": {
81-
"test": "SYMFONY_DEPRECATIONS_HELPER=ignoreFile='./tests/baseline-ignore' vendor/bin/simple-phpunit --testsuite main"
81+
"test": "SYMFONY_DEPRECATIONS_HELPER=ignoreFile='./tests/baseline-ignore' vendor/bin/simple-phpunit --testsuite main",
82+
"phpstan": "vendor/bin/phpstan --memory-limit=1024m"
8283
},
8384
"config": {
8485
"allow-plugins": {

0 commit comments

Comments
 (0)