File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- name : Check code style format
1+ name : Code Style
22
33on : [push, pull_request]
44
55jobs :
66 style :
7- name : " PHP CS Fixer"
8- runs-on : ubuntu-latest
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ matrix :
10+ os : ['ubuntu-latest']
11+ php : ['7.1', '7.3', '8.0']
12+ name : " PHP CS Fixer - PHP v${{ matrix.php }}"
913
1014 steps :
1115 - name : Checkout code
1418 - name : Setup PHP
1519 uses : shivammathur/setup-php@v2
1620 with :
17- php-version : ' 7.1 '
21+ php-version : ${{ matrix.php }}
1822 coverage : none
1923
2024 - name : Install dependencies
Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " ^7.1.0" ,
13+ "php" : " ^7.1|^8 .0" ,
1414 "friendsofphp/php-cs-fixer" : " ^2.16"
1515 },
1616 "autoload" : {
You can’t perform that action at this time.
0 commit comments