Skip to content

Firefly III: a personal finances manager

Use new settings for php cs fixer.

James Cole184d8eb0271b
diff --git a/.ci/php-cs-fixer/.php-cs-fixer.php b/.ci/php-cs-fixer/.php-cs-fixer.php
index 2117f674a1..eb14b845a9 100644
--- a/.ci/php-cs-fixer/.php-cs-fixer.php
+++ b/.ci/php-cs-fixer/.php-cs-fixer.php
@@ -33,6 +33,7 @@ $finder = PhpCsFixer\Finder::create()
$config = (new PhpCsFixer\Config())
+ // ->setUnsupportedPhpVersionAllowed(true) // use this when PHP 8.5 comes out.
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
;
return $config->setRules(
diff --git a/.ci/phpcs.sh b/.ci/phpcs.sh
index 607e40de90..620a8c3330 100755
--- a/.ci/phpcs.sh
+++ b/.ci/phpcs.sh
@@ -26,7 +26,7 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR/php-cs-fixer
composer update --quiet
rm -f .php-cs-fixer.cache
-PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix \
+./vendor/bin/php-cs-fixer fix \
--config $SCRIPT_DIR/php-cs-fixer/.php-cs-fixer.php \
--format=txt \
-v \