firefly-iii/.ci/phpstan.sh
2020-11-08 14:07:59 +01:00

12 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
# Install composer packages
composer install --no-scripts --no-ansi
# enable test .env file.
cp .ci/.env.ci .env
# Do static code analysis.
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
exit 0