Skip to content

Commit

Permalink
show diff in the same job step
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored May 17, 2024
1 parent 0f68f86 commit c3c5674
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:

# https://github.com/doctrine/.github/issues/3
- name: "Run PHP_CodeSniffer"
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"

- name: "Output PHP_CodeSniffer autofix diff"
if: failure()
run: |
vendor/bin/phpcbf -q --no-colors --report=checkstyle || true
git add . -N && git diff
vendor/bin/phpcs -q --no-colors --report=diff || true
vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr

0 comments on commit c3c5674

Please sign in to comment.