Skip to content

Commit

Permalink
Merge pull request #21813 from nextcloud/enh/noid/report-code-style-t…
Browse files Browse the repository at this point in the history
…o-github

Report php-cs-fixer errors to GitHub
  • Loading branch information
MorrisJobke committed Jul 13, 2020
2 parents c419342 + f64b47c commit 8f78205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Expand Up @@ -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

0 comments on commit 8f78205

Please sign in to comment.