Merge pull request #1611 from liip/2-to-3 #668
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 | |
- 3.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: 8.3 | |
coverage: none | |
tools: php-cs-fixer | |
- name: Run PHP-CS-Fixer | |
run: php-cs-fixer fix --dry-run --diff |