diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-10-03 15:41:31 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-10-03 20:40:25 +0300 |
commit | 050ba4b8d2d774e680b2375a4cf00f0e80b97ffb (patch) | |
tree | bbe48cfede3facff416e4d6e773831394045149c /.github | |
parent | 8b7ea9f62df9dc71352b9082cca2eb49d2c6e543 (diff) |
Change output format of Psalm to Github
This automatically inlines the errors into the diff view.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-code-analysis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index fb415b585ec..0a2df0d71f9 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -22,7 +22,7 @@ jobs: - name: Composer install run: composer i - name: Psalm - run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 ) + run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 ) - name: Check diff run: git diff -- . ':!lib/composer' - name: Show potential changes in Psalm baseline @@ -48,7 +48,7 @@ jobs: - name: Composer install run: composer i - name: Psalm - run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 ) + run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 ) - name: Check diff run: git diff -- . ':!lib/composer' - name: Show potential changes in Psalm baseline |