Skip to content

Commit a86c1c1

Browse files
committed
updated phpstan
1 parent db74997 commit a86c1c1

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- stage: Static Analysis (informative)
4949
php: 7.4
5050
script:
51-
- composer run-script phpstan
51+
- composer phpstan -- --no-progress
5252

5353

5454
- stage: Code Coverage

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"minimum-stability": "dev",
3636
"scripts": {
37-
"phpstan": "phpstan analyse --level 5 src",
37+
"phpstan": "phpstan analyse",
3838
"tester": "tester tests -s"
3939
},
4040
"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)