mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01: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
|
||||
with:
|
||||
php-version: '7.4'
|
||||
tools: cs2pr, phpstan
|
||||
tools: phpstan
|
||||
|
||||
- name: PHPStan
|
||||
run: phpstan analyse src --error-format=checkstyle | cs2pr
|
||||
run: phpstan analyse src
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
Loading…
Reference in New Issue
Block a user