From 6f7843b6bde44fa5587703d3d7d20c885c0654d4 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 3 Nov 2022 11:55:52 +0100 Subject: [PATCH] fix: larastan v1 incompatible with phpstan v1.9.0 (#3665) We can't update to larastan v2 until we update to laravel v9 which has to wait for Flarum v2, so we need to stay on phpstan v1.8 Signed-off-by: Sami Mazouz --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a5bbee2..0509ab5 100644 --- a/composer.json +++ b/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": {