mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
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:
parent
1244723a0b
commit
b599965435
4
.github/workflows/phpstan.yaml
vendored
4
.github/workflows/phpstan.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user