Skip to content

Commit 34d4e78

Browse files
committed
#1930 format before running phpcs
1 parent 1ae5775 commit 34d4e78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
with:
5454
composer-options: "--no-suggest"
5555

56+
- name: "Format the code"
57+
run: ./vendor/bin/phpcbf
58+
5659
# The -q option is required until phpcs v4 is released
5760
- name: "Run PHP_CodeSniffer"
5861
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
5962

60-
- name: "Format the code"
61-
run: ./vendor/bin/phpcbf
62-
6363
- name: "Commit the changes"
6464
uses: stefanzweifel/git-auto-commit-action@v5
6565
with:

0 commit comments

Comments
 (0)