diff --git a/composer.json b/composer.json index dc3c8ada7..e425a72bd 100644 --- a/composer.json +++ b/composer.json @@ -140,7 +140,7 @@ "require-dev": { "mockery/mockery": "^1.4", "phpunit/phpunit": "^9.0", - "phpstan/phpstan": "^1.2", + "phpstan/phpstan": ">=1.8.11 < 1.9.0", "nunomaduro/larastan": "^1.0" }, "config": { diff --git a/php-packages/phpstan/composer.json b/php-packages/phpstan/composer.json index a5bbee220..0509ab527 100644 --- a/php-packages/phpstan/composer.json +++ b/php-packages/phpstan/composer.json @@ -4,7 +4,7 @@ "minimum-stability": "dev", "license": "MIT", "require": { - "phpstan/phpstan": "^1.2", + "phpstan/phpstan": ">=1.8.11 < 1.9.0", "nunomaduro/larastan": "^1.0" }, "autoload": {