use cs2pr baked into shivammathur/setup-php@v1

support was recently added with https://github.com/shivammathur/setup-php/releases/tag/1.8.2
This commit is contained in:
Markus Staab 2020-02-05 10:16:24 +01:00 committed by GitHub
parent 1244723a0b
commit b599965435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ jobs:
with:
php-version: 7.3
coverage: none
tools: cs2pr
- run: |
composer install --no-progress
composer require staabm/annotate-pull-request-from-checkstyle:^1.0
# turn the phpstan errors (formatted in checkstyle-format) into github pull request check annotations
- run: composer phpstan -- --error-format=checkstyle | vendor/bin/cs2pr
- run: composer phpstan -- --error-format=checkstyle | cs2pr