Skip to content

Commit

Permalink
Fix PHPStan config file
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Oct 26, 2023
1 parent bfc8965 commit b37f0ce
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ includes:
- phpstan-baseline.neon

parameters:
level: 5
paths:
- src/
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
# 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:
- '#Cannot use array destructuring on callable.#'
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
ignoreErrors:
- '#Cannot use array destructuring on callable.#'
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false

0 comments on commit b37f0ce

Please sign in to comment.