Skip to content

Commit

Permalink
Fix multiple paths
Browse files Browse the repository at this point in the history
When multiple paths are passed, PHP CS Fixer requires the `--config`
parameter.

PHP-CS-Fixer/PHP-CS-Fixer#4279
  • Loading branch information
divspace committed Apr 15, 2024
1 parent e4610c2 commit 9899642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
language: system
files: \.php$
fail_fast: true
args: [ fix, --allow-risky=yes, --no-interaction ]
args: [ fix, --allow-risky=yes, --config=.php-cs-fixer.dist.php, --no-interaction ]
stages: [ pre-commit, pre-merge-commit, pre-push, manual ]

- id: phpstan
Expand Down

0 comments on commit 9899642

Please sign in to comment.