Skip to content

Commit

Permalink
Adding --config back
Browse files Browse the repository at this point in the history
when specifying multiple files php-cs-fixer needs to be provider rules
or the config file.

see PHP-CS-Fixer/PHP-CS-Fixer#4279
  • Loading branch information
JimTools committed Jan 17, 2025
1 parent a8b3dd9 commit 8e72d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php

- run: ./bin/php-cs-fixer fix --no-interaction --dry-run --diff -v --path-mode=intersection -- ${{ env.GIT_DIFF_FILTERED }}
- run: ./bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --no-interaction --dry-run --diff -v --path-mode=intersection -- ${{ env.GIT_DIFF_FILTERED }}
if: env.GIT_DIFF_FILTERED

unit_tests:
Expand Down

0 comments on commit 8e72d15

Please sign in to comment.