File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 11name : ' Continuous integration'
22on : ['push', 'pull_request']
33jobs :
4- php- cs :
4+ cs :
55 runs-on : ' ubuntu-latest'
6- name : ' PHP coding style'
6+ name : ' Coding style'
77 steps :
88 - name : ' Checkout'
99 uses : ' actions/checkout@v2'
@@ -12,10 +12,19 @@ jobs:
1212 uses : ' shivammathur/setup-php@v2'
1313 with :
1414 php-version : ' 7.4'
15+ coverage : ' none'
1516 extensions : ' json, mbstring, tokenizer'
16- tools : ' cs2pr , php-cs-fixer:2.16.4'
17+ tools : ' composer-normalize , php-cs-fixer:2.16.4'
1718 env :
1819 update : true
1920
20- - name : ' Check coding style'
21- run : ' php-cs-fixer fix --diff --dry-run --using-cache=false --format=checkstyle | cs2pr'
21+ - name : ' Display tools versions'
22+ run : |
23+ composer-normalize --version
24+ php-cs-fixer --version
25+
26+ - name : ' Check PHP code'
27+ run : ' php-cs-fixer fix --diff --dry-run --using-cache=false'
28+
29+ - name : ' Check composer.json'
30+ run : ' composer-normalize --diff --dry-run --no-update-lock'
You can’t perform that action at this time.
0 commit comments