File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 1414 - ' **.php'
1515 - ' .github/workflows/phpcsfixer.yml'
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+ cancel-in-progress : true
20+
21+ permissions :
22+ contents : read
23+
1724jobs :
1825 build :
19- name : Coding Standards
26+ name : PHP ${{ matrix.php-versions }} Coding Standards
2027 runs-on : ubuntu-latest
21- if : " !contains(github.event.head_commit.message, '[ci skip]')"
28+ if : (! contains(github.event.head_commit.message, '[ci skip]'))
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ php-versions : ['8.1', '8.4']
2233
2334 steps :
2435 - name : Checkout
2738 - name : Set up PHP
2839 uses : shivammathur/setup-php@v2
2940 with :
30- php-version : ' 8.2 '
41+ php-version : ${{ matrix.php-versions }}
3142 extensions : json, tokenizer
3243 coverage : none
3344 env :
5364
5465 - name : Check code for standards compliance
5566 run : vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --using-cache=no --diff
67+ env :
68+ PHP_CS_FIXER_IGNORE_ENV : ${{ matrix.php-versions == '8.4' }}
You can’t perform that action at this time.
0 commit comments