diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-13 15:31:44 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-13 16:04:31 +0200 |
commit | f64b47c36a40dd65b4b265edc8d3bbe08b78e5c1 (patch) | |
tree | 80bc27b1838c139146714fe8d64a8eaa7aabf2a0 /.github | |
parent | 3f87ef91379cdd4c5937dd7c05a6da3c4861ce0a (diff) | |
download | nextcloud-server-f64b47c36a40dd65b4b265edc8d3bbe08b78e5c1.tar.gz nextcloud-server-f64b47c36a40dd65b4b265edc8d3bbe08b78e5c1.zip |
Report php-cs-fixer errors to GitHub
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4de6de68656..5680873555f 100644 --- a/.github/workflows/lint.yml +++ b/.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 |