mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Merge pull request #292 from szepeviktor/patch-1
PHPStan is GH Actions-friendly
This commit is contained in:
commit
84b222366a
@ -594,10 +594,10 @@ For examples refer to [cs2pr documentation](https://github.com/staabm/annotate-p
|
|||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '7.4'
|
||||||
tools: cs2pr, phpstan
|
tools: phpstan
|
||||||
|
|
||||||
- name: PHPStan
|
- name: PHPStan
|
||||||
run: phpstan analyse src --error-format=checkstyle | cs2pr
|
run: phpstan analyse src
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
Loading…
Reference in New Issue
Block a user