diff --git a/composer.json b/composer.json index c2957ce0..64a59bd8 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ }, "require": { "php": "8.1.*|8.2.*|8.3.*", - "nikic/php-parser": "~4.14", + "nikic/php-parser": "~4.14 || ^5.0", "phpdocumentor/reflection-common": "^2.1", "phpdocumentor/reflection-docblock": "^5", "phpdocumentor/type-resolver": "^1.2", diff --git a/composer.lock b/composer.lock index 0acd8f03..1958c424 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "21c868c1e0185a7f8d9cbd70d68b5b5a", + "content-hash": "a75aa0bc395a71d9fa4f95b7292ae854", "packages": [ { "name": "doctrine/deprecations",