firefly-iii/.ci/phpstan.sh
2020-08-01 05:56:32 +02:00

12 lines
246 B
Bash
Executable File

#!/usr/bin/env bash
# Install composer packages
composer install --no-suggest --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