Browse Source

Report php-cs-fixer errors to GitHub

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/21813/head
Daniel Kesselberg 6 years ago
parent
commit
f64b47c36a
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 3
      .github/workflows/lint.yml

3
.github/workflows/lint.yml

@ -30,7 +30,8 @@ jobs:
with:
php-version: 7.4
coverage: none
tools: cs2pr
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
run: composer run cs:check -- --format=checkstyle | cs2pr
Loading…
Cancel
Save