Skip to content

Commit

Permalink
Exclude some files from PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Oct 24, 2023
1 parent 65f2320 commit 0771832
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ parameters:
level: 5
paths:
- src/
excludePaths:
# these are excluded because Symfony changed the ArgumentValueResolver interface
# and PHPStan complains that one of the two doesn't exist, depending on the Symfony version
- src/Controller/AbstractCrudController.php
- src/Controller/AbstractDashboardController.php
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
ignoreErrors:
Expand Down

0 comments on commit 0771832

Please sign in to comment.