Skip to content

Commit

Permalink
Fix phpcs line
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Jan 6, 2025
1 parent 6593b61 commit 2b62a21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
# Check the code-style consistency of the PHP files.
- name: Check PHP code style
id: phpcs
run: composer lint:wpcs -- --config-set ignore_warnings_on_exit 1 --no-cache --report-full --report-checkstyle=./phpcs-report.xml
run: |
composer lint:wpcs --config-set ignore_warnings_on_exit 1
composer --no-cache --report-full --report-checkstyle=./phpcs-report.xml
- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
run: cs2pr ./phpcs-report.xml
Expand Down

0 comments on commit 2b62a21

Please sign in to comment.