mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Do things differently
This commit is contained in:
parent
88160df2e8
commit
4db6933c17
@ -30,6 +30,14 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# Do static code analysis.
|
||||
# ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
|
||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --error-format=table > phpstan-report.txt
|
||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress --error-format=table > phpstan-report.txt
|
||||
EXIT_CODE=$?
|
||||
|
||||
echo 'The PHPstan report can be found in phpstan-report.txt'
|
||||
if [ $GITHUB_ACTIONS -ne "true" ]; then
|
||||
echo 'The PHPstan report can be found in phpstan-report.txt'
|
||||
exit $EXIT_CODE
|
||||
fi
|
||||
|
||||
cat phpstan-report.txt
|
||||
|
||||
exit $EXIT_CODE
|
||||
|
Loading…
Reference in New Issue
Block a user