Skip to content

Commit b9146b0

Browse files
committed
updated phpstan
1 parent 19df578 commit b9146b0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- uses: shivammathur/setup-php@v1
14+
- uses: shivammathur/setup-php@v2
1515
with:
1616
php-version: 7.4
1717
coverage: none
1818

1919
- run: composer install --no-progress --prefer-dist
20-
- run: composer phpstan
20+
- run: composer phpstan -- --no-progress
2121
continue-on-error: true # is only informative

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"minimum-stability": "dev",
3232
"scripts": {
33-
"phpstan": "phpstan analyse --level 5 src",
33+
"phpstan": "phpstan analyse",
3434
"tester": "tester tests -s"
3535
},
3636
"extra": {

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
level: 5
3+
4+
paths:
5+
- src

0 commit comments

Comments
 (0)