Skip to content

Commit

Permalink
Pass --dry-run to php-cs-fixer
Browse files Browse the repository at this point in the history
Apparently it only returns the correct exit code with the
--dry-run option.
  • Loading branch information
nikic committed Sep 23, 2023
1 parent d8e8065 commit 8f175fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ jobs:
run: |
cd tools && composer install
- name: "php-cs-fixer"
run: "php tools/vendor/bin/php-cs-fixer fix"
run: "php tools/vendor/bin/php-cs-fixer fix --dry-run"

0 comments on commit 8f175fe

Please sign in to comment.