File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,18 @@ jobs:
4949 ${{ runner.os }}-phpcs-
5050
5151 - name : Detect PHP coding style issues
52- id : lint_php
53- run : composer cs:lint
52+ id : check_php_cs
53+ run : composer cs:check
5454 continue-on-error : true
5555
5656 - name : Fix detected PHP coding style issues (if any)
57- if : ${{ steps.lint_php .outcome == 'failure' }}
57+ if : ${{ steps.check_php_cs .outcome == 'failure' }}
5858 id : fix_php
5959 run : composer cs:fix
6060 continue-on-error : true
6161
6262 - name : Commit PHP code-style fixes (if any)
63- if : ${{ steps.lint_php .outcome == 'failure' }}
63+ if : ${{ steps.check_php_cs .outcome == 'failure' }}
6464 uses : EndBug/add-and-commit@v9
6565 with :
6666 message : " #15000 🪄️ Apply coding style fixes to PHP"
7070 pull : ' --rebase --autostash'
7171
7272 - name : Lint PHP coding style issues (if previously detected)
73- if : ${{ steps.lint_php .outcome == 'failure' }}
73+ if : ${{ steps.check_php_cs .outcome == 'failure' }}
7474 run : composer cs:check -- --report-full --report-checkstyle=./phpcs-report.xml
7575
7676 - name : Show PHPCS results in on GitHub UI
77- if : ${{ steps.lint_php .outcome == 'failure' }}
77+ if : ${{ steps.check_php_cs .outcome == 'failure' }}
7878 run : cs2pr ./phpcs-report.xml
You can’t perform that action at this time.
0 commit comments