PHP-CS-Fixer action for checking and enforcing code style.
- Checks out code
- Sets up PHP with PHP-CS-Fixer and cs2pr tools
- Runs PHP-CS-Fixer in dry-run mode and formats output for GitHub PRs
jobs:
cs-fixer:
uses: shopware/github-actions/cs-fixer@mainjobs:
cs-fixer:
uses: shopware/github-actions/cs-fixer@main
with:
rules: "@Symfony,no_unused_imports"