Skip to content

Firefly III: a personal finances manager

Improved cs fixer config [skip ci]

James Coleea9f635b1a7d
diff --git a/.ci/php-cs-fixer/.php-cs-fixer.php b/.ci/php-cs-fixer/.php-cs-fixer.php
index e89bfe30fb..6262b878f4 100644
--- a/.ci/php-cs-fixer/.php-cs-fixer.php
+++ b/.ci/php-cs-fixer/.php-cs-fixer.php
@@ -61,7 +61,7 @@ return $config->setRules(
'comment_to_phpdoc' => false, // breaks phpstan lines in combination with PHPStorm.
'type_declaration_spaces' => false,
'cast_spaces' => false,
- 'single_line_comment_style' => false, // do not overrule single line comment style.
+ 'phpdoc_to_comment' => false, // do not overrule single line comment style, breaks phpstan.
// complex rules
'array_syntax' => ['syntax' => 'short'],
diff --git a/.ci/phpcs.sh b/.ci/phpcs.sh
index 9bb2c33719..3d6dc02c62 100755
--- a/.ci/phpcs.sh
+++ b/.ci/phpcs.sh
@@ -28,7 +28,7 @@ composer update --quiet
rm -f .php-cs-fixer.cache
PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix \
--config $SCRIPT_DIR/php-cs-fixer/.php-cs-fixer.php \
- --format=txt \
+ --format=txt -v \
--allow-risky=yes
EXIT_CODE=$?