Skip to content

Commit

Permalink
Update phpstan.neon.dist
Browse files Browse the repository at this point in the history
Lower the level to 6, as we are not scanning the libs with max level, so this could cause issues.
  • Loading branch information
dingo-d authored Jul 18, 2022
1 parent 75f4c39 commit a47ec75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
level: 6
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false
paths:
- src/
ignoreErrors:
Expand Down

0 comments on commit a47ec75

Please sign in to comment.