1
0
Fork 0

Annotate phpstan errors in pull requests

Utilizing https://github.com/staabm/annotate-pull-request-from-checkstyle
pull/8852/head
Markus Staab 2020-04-30 09:44:22 +02:00 committed by GitHub
parent 56edd53046
commit 3c1757575e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ jobs:
extensions: "intl"
ini-values: "memory_limit=-1"
php-version: "${{ matrix.php-version }}"
tools: "cs2pr"
- name: "Determine composer cache directory"
id: "determine-composer-cache-directory"
@ -52,4 +53,4 @@ jobs:
- name: Run PHPStan
run: |
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --with-all-dependencies
vendor/bin/phpstan analyse --configuration=phpstan/config.neon
vendor/bin/phpstan analyse --configuration=phpstan/config.neon --error-format=checkstyle | cs2pr