Skip to content

Commit b434f3e

Browse files
committed
Support PHPStan 2
1 parent 2d96028 commit b434f3e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
],
1212
"require": {
1313
"php": "^7.4",
14-
"phpstan/phpstan": "^1.9"
14+
"phpstan/phpstan": "^2.0"
1515
},
1616
"require-dev": {
1717
"cakephp/cakephp": "^2.10.24",
18-
"phpstan/phpstan-phpunit": "^1.3",
19-
"phpunit/phpunit": "^9.6",
20-
"nunomaduro/phpinsights": "^2.7"
18+
"nunomaduro/phpinsights": "^2.7",
19+
"phpstan/phpstan-phpunit": "^2.0",
20+
"phpunit/phpunit": "^9.6"
2121
},
2222
"autoload": {
2323
"psr-4": {
@@ -62,6 +62,7 @@
6262
"config": {
6363
"allow-plugins": {
6464
"dealerdirect/phpcodesniffer-composer-installer": true
65-
}
65+
},
66+
"sort-packages": true
6667
}
6768
}

0 commit comments

Comments
 (0)