Ensured static analysis is run with APP_ENV=test

This commit is contained in:
Alejandro Celaya 2021-07-20 13:50:14 +02:00
parent b11daeae7d
commit e4d15e64b6

View file

@ -114,7 +114,7 @@
], ],
"cs": "phpcs", "cs": "phpcs",
"cs:fix": "phpcbf", "cs:fix": "phpcbf",
"stan": "phpstan analyse module/*/src module/*/config config docker/config data/migrations --level=8", "stan": "APP_ENV=test php vendor/bin/phpstan analyse module/*/src module/*/config config docker/config data/migrations --level=8",
"test": [ "test": [
"@test:unit", "@test:unit",
"@test:db", "@test:db",