phpstan.neon.dist
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%/src/
excludePaths:
- %currentWorkingDirectory%/tests/*
- %currentWorkingDirectory%/src/Previous/*
- %currentWorkingDirectory%/Oldtests/*
bootstrapFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
ignoreErrors:
- '#Function apply_filters invoked with [0-9] parameters, 2 required#'
reportUnmatchedIgnoredErrors: false