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: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:unit",
"@test:db",