From d5ce9c7b9c1f1f7b6dcced49f8a76ac3387ac440 Mon Sep 17 00:00:00 2001 From: Ghlen Nagels Date: Mon, 16 Sep 2024 13:48:01 +0530 Subject: [PATCH] force correct environment to prepare the cache before running psalm --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 970d17c..4b305a7 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,7 @@ } }, "scripts": { - "psalm": "php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true", + "psalm": "APP_ENV=test php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true", "fix-cs": "vendor/bin/php-cs-fixer fix", "check-cs": "vendor/bin/php-cs-fixer fix --dry-run", "ci-symfony-install-version": "./.github/scripts/setup-symfony-env.bash"