Skip to content

Commit c8e3aaa

Browse files
committed
Update PHPStan
1 parent d369d50 commit c8e3aaa

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/PHPStan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: PHPStan - ${{ matrix.php_versions }}
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323

2424
- name: Setup PHP, with composer and extensions
2525
uses: shivammathur/setup-php@v2
@@ -30,4 +30,4 @@ jobs:
3030
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
3131

3232
- name: Run PHPStan
33-
run: vendor/bin/phpstan analyse app/src/ app/tests/
33+
run: vendor/bin/phpstan analyse

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
parameters:
22
level: max
3+
paths:
4+
- app/src/
5+
- app/tests/
36
reportUnmatchedIgnoredErrors: false
47
ignoreErrors:
58
- '#Dynamic call to static method PHPUnit\\Framework\\.*#'

0 commit comments

Comments
 (0)