diff --git a/.github/workflows/phpstan.yaml b/.github/workflows/phpstan.yaml index 7ac453556fc5..3872a57941f4 100644 --- a/.github/workflows/phpstan.yaml +++ b/.github/workflows/phpstan.yaml @@ -15,5 +15,7 @@ jobs: with: php-version: 7.3 coverage: none + tools: cs2pr - run: composer install --no-progress - - run: composer phpstan + # turn the phpstan errors (formatted in checkstyle-format) into github pull request check annotations + - run: composer phpstan -- --error-format=checkstyle | cs2pr