Skip to content

Firefly III: a personal finances manager

Fix env file, fix logging

James Cole3d5230228ed3
diff --git a/.ci/.env.ci b/.ci/.env.ci
index d49e9925a3..73117a5812 100644
--- a/.ci/.env.ci
+++ b/.ci/.env.ci
@@ -46,13 +46,13 @@ TRUSTED_PROXIES=
# - Docker + versions >= 5.1.1 : use "stack"
# - For everything else (als not Docker) : use 'stack'
-LOG_CHANNEL=stack
+LOG_CHANNEL=single
# Log level. You can set this from least severe to most severe:
# debug, info, notice, warning, error, critical, alert, emergency
# If you set it to debug your logs will grow large, and fast. If you set it to emergency probably
# nothing will get logged, ever.
-APP_LOG_LEVEL=debug
+APP_LOG_LEVEL=info
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
# For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq
@@ -82,8 +82,8 @@ PGSQL_SSL_KEY=null
PGSQL_SSL_CRL_FILE=null
# If you're looking for performance improvements, you could install memcached.
-CACHE_DRIVER=file
-SESSION_DRIVER=file
+CACHE_DRIVER=array
+SESSION_DRIVER=array
# If you set either of these to 'redis', you might want to update these settings too
# If you use Docker or similar, you can set REDIS_HOST_FILE, REDIS_PASSWORD_FILE or
diff --git a/.ci/phpstan.sh b/.ci/phpstan.sh
index f08be90f78..8afd95365a 100755
--- a/.ci/phpstan.sh
+++ b/.ci/phpstan.sh
@@ -3,6 +3,8 @@
# 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