Skip to content

Commit 0e6c545

Browse files
authored
phpstan should run before style (phpcs)
1 parent c6044d7 commit 0e6c545

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cs-stan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242
- name: Install PHP tools with phive.
4343
run: "phive install --trust-gpg-keys '${{ inputs.phive_keys }}'"
4444

45-
- name: Run phpcs
46-
if: always()
47-
run: vendor/bin/phpcs --report=checkstyle src/ tests/ | cs2pr
48-
4945
- name: Run phpstan
5046
if: always()
5147
run: tools/phpstan analyse --error-format=github
5248

5349
- name: Run phpstan for tests
5450
if: ${{ inputs.check_tests }}
5551
run: tools/phpstan analyse -c tests/phpstan.neon --error-format=github
52+
53+
- name: Run phpcs
54+
if: always()
55+
run: vendor/bin/phpcs --report=checkstyle src/ tests/ | cs2pr

0 commit comments

Comments
 (0)