phpstan natively sends github action formatted errors
no need to use cs2pr for nowpull/9122/head
parent
c845d66818
commit
2279b6fdad
|
@ -34,7 +34,6 @@ jobs:
|
||||||
extensions: "intl, zip"
|
extensions: "intl, zip"
|
||||||
ini-values: "memory_limit=-1"
|
ini-values: "memory_limit=-1"
|
||||||
php-version: "${{ matrix.php-version }}"
|
php-version: "${{ matrix.php-version }}"
|
||||||
tools: "cs2pr"
|
|
||||||
|
|
||||||
- name: "Determine composer cache directory"
|
- name: "Determine composer cache directory"
|
||||||
id: "determine-composer-cache-directory"
|
id: "determine-composer-cache-directory"
|
||||||
|
@ -53,4 +52,4 @@ jobs:
|
||||||
- name: Run PHPStan
|
- name: Run PHPStan
|
||||||
run: |
|
run: |
|
||||||
bin/composer require --dev phpstan/phpstan:^0.12.26 phpunit/phpunit:^7.5 --with-all-dependencies
|
bin/composer require --dev phpstan/phpstan:^0.12.26 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
|
vendor/bin/phpstan analyse --configuration=phpstan/config.neon
|
||||||
|
|
Loading…
Reference in New Issue