Skip to content

Commit d5ce9c7

Browse files
committed
force correct environment to prepare the cache before running psalm
1 parent 03d771b commit d5ce9c7

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
@@ -53,7 +53,7 @@
5353
}
5454
},
5555
"scripts": {
56-
"psalm": "php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true",
56+
"psalm": "APP_ENV=test php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true",
5757
"fix-cs": "vendor/bin/php-cs-fixer fix",
5858
"check-cs": "vendor/bin/php-cs-fixer fix --dry-run",
5959
"ci-symfony-install-version": "./.github/scripts/setup-symfony-env.bash"

0 commit comments

Comments
 (0)