Skip to content

Commit

Permalink
Use cs2pr to submit checkstyle reports
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Oct 28, 2020
1 parent cd0c13b commit 217948c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
tools: php-cs-fixer:2.16
tools: php-cs-fixer:2.16, cs2pr
coverage: none

- name: Install dependencies with composer
run: composer install --no-interaction --no-progress --no-suggest

- name: Run php-cs-fixer
run: php-cs-fixer fix -vvv
run: php-cs-fixer fix --verbose --diff --dry-run --format=checkstyle | cs2pr

# vim:ft=yaml:et:ts=2:sw=2

0 comments on commit 217948c

Please sign in to comment.