Merge pull request #21813 from nextcloud/enh/noid/report-code-style-to-github
Report php-cs-fixer errors to GitHub
This commit is contained in:
commit
8f78205be0
|
@ -30,7 +30,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: 7.4
|
php-version: 7.4
|
||||||
coverage: none
|
coverage: none
|
||||||
|
tools: cs2pr
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer i
|
run: composer i
|
||||||
- name: Run coding standards check
|
- 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…
Reference in New Issue