Skip to content

Commit

Permalink
CI: Use PHPStan's native Github error formatter (#7487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Dec 1, 2023
1 parent 81d5d9e commit d680159
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/sca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
with:
os: ${{ runner.os }}
php: ${{ matrix.php-version }}
tools: cs2pr

## We want to have a lock-file used on PR level, so contributors are not bothered by SCA complains unrelated to their changes,
## and same time we want to be aware that we are complying with bleeding edge of SCA tools as maintainers observing the push hook.
Expand Down Expand Up @@ -66,7 +65,7 @@ jobs:
run: ./dev-tools/check_trailing_spaces.sh

- name: Check - phpstan
run: ./dev-tools/vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr
run: ./dev-tools/vendor/bin/phpstan analyse --error-format=github

- name: Check - composer-require-checker
run: ./dev-tools/vendor/bin/composer-require-checker check composer.json --config-file .composer-require-checker.json
Expand Down

0 comments on commit d680159

Please sign in to comment.