Merge pull request #3125 from briannesbitt/issue/3037-add-psalm-config #2067
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP-CS-Fixer | |
on: [ pull_request, push ] | |
jobs: | |
lint: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Ignore comments in switch | |
run: php tests/remove-comments-in-switch.php | |
- name: Check for code style violation with PHP-CS-Fixer | |
uses: docker://oskarstark/php-cs-fixer-ga | |
with: | |
args: --diff --dry-run |