Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update CI scripts.
James Cole8572280b7b93
diff --git a/.ci/phpstan.neon b/.ci/phpstan.neonindex 44091826a9..0838d68e77 100644--- a/.ci/phpstan.neon+++ b/.ci/phpstan.neon@@ -10,6 +10,17 @@ parameters:- '#is neither abstract nor final#'- '#Control structures using switch should not be used\.#'- '#has a nullable return type declaration#'+ - '#with a nullable type declaration#'+ - '#with null as default value#'+ - '#Constructor in [a-zA-Z0-9\\_]+ has parameter \$[a-zA-Z0-9\\_]+ with default value#'+ -+ message: '#Function compact\(\) should not be used.#'+ paths:+ - ../app/Support/Http/Controllers/RenderPartialViews.php+ - ../app/Support/Form/FormSupport.php+ - ../app/Support/Form/CurrencyForm.php+ - ../app/Support/Form/AccountForm.php+ - ../app/Support/ExpandedForm.phppaths:- ../app- ../databasediff --git a/.ci/phpstan.sh b/.ci/phpstan.shindex 01e34546b3..4ffaffe5a4 100755--- a/.ci/phpstan.sh+++ b/.ci/phpstan.sh@@ -21,12 +21,13 @@## Install composer packages-composer install --no-scripts --no-ansi+#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+# ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress+./vendor/bin/phpstan analyse -c .ci/phpstan.neonexit 0\ No newline at end of filediff --git a/.ci/phpunit.sh b/.ci/phpunit.shindex c96fa69e96..e7c47d109c 100755--- a/.ci/phpunit.sh+++ b/.ci/phpunit.sh@@ -24,6 +24,7 @@cp .ci/.env.ci ../.env# download test database+# TODO no longer existswget --quiet https://raw.githubusercontent.com/firefly-iii/test-data/main/test_db.sqlite -o storage/database/test_db.sqlite# run phpunit