Skip to content

Commit 4898107

Browse files
kaiwadevtronic
authored andcommitted
Allowing nikic/php-parser v5
There seem to be no changes required to allow projects to use PHPParser v5. The dependency on v4 is a problem when upgrading projects to PHPUnit 11, which has some nested dependency on PHPParser v5.
1 parent 1f4f739 commit 4898107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"require": {
66
"php": "^7.1 || ^8.0",
77
"phpstan/phpstan": "^0.12.99 || ^1.4.8",
8-
"nikic/php-parser": "^4.13"
8+
"nikic/php-parser": "^4.13 || ^5.0"
99
},
1010
"license": "MIT",
1111
"autoload": {

0 commit comments

Comments
 (0)