Merge pull request #1587 from mbabker/patch-1 #633
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: | |
branches: | |
- 1.x | |
- 2.x | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
coverage: none | |
tools: php-cs-fixer | |
- name: Run PHP-CS-Fixer | |
run: php-cs-fixer fix --dry-run --diff |