Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix script and job
James Coleb77b3e3fc883
diff --git a/.ci/phpstan.sh b/.ci/phpstan.shindex 1b1a74af2a..9a54435bb8 100755--- a/.ci/phpstan.sh+++ b/.ci/phpstan.sh@@ -33,7 +33,8 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress --error-format=table > phpstan-report.txtEXIT_CODE=$?-if [ $GITHUB_ACTIONS -ne "true" ]; then+if [[ $GITHUB_ACTIONS = "" ]]+thenecho 'The PHPstan report can be found in phpstan-report.txt'exit $EXIT_CODEfidiff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.ymlindex 780fb02ad8..3d7dbee255 100644--- a/.github/workflows/sonarcloud.yml+++ b/.github/workflows/sonarcloud.yml@@ -49,9 +49,7 @@ jobs:run: composer install --prefer-dist --no-interaction --no-progress --no-scripts- name: PHPStan- uses: php-actions/phpstan@v3- with:- configuration: .ci/phpstan.neon+ run: .ci/phpstan.sh- name: "Create database file"run: touch storage/database/database.sqlite