Skip to content

Commit

Permalink
Update PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Apr 21, 2024
1 parent 7dca4f0 commit 60efe6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PHPStan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: PHPStan - ${{ matrix.php_versions }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- name: Run PHPStan
run: vendor/bin/phpstan analyse src/ tests/
run: vendor/bin/phpstan analyse
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
parameters:
level: 8
paths:
- src
- tests
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Dynamic call to static method PHPUnit\\Framework\\.*#'
Expand Down

0 comments on commit 60efe6f

Please sign in to comment.