Skip to content

Commit 2b62a21

Browse files
committed
Fix phpcs line
1 parent 6593b61 commit 2b62a21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/phpcs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
# Check the code-style consistency of the PHP files.
2020
- name: Check PHP code style
2121
id: phpcs
22-
run: composer lint:wpcs -- --config-set ignore_warnings_on_exit 1 --no-cache --report-full --report-checkstyle=./phpcs-report.xml
22+
run: |
23+
composer lint:wpcs --config-set ignore_warnings_on_exit 1
24+
composer --no-cache --report-full --report-checkstyle=./phpcs-report.xml
2325
- name: Show PHPCS results in PR
2426
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
2527
run: cs2pr ./phpcs-report.xml

0 commit comments

Comments
 (0)