phpstan.neon.dist
# Start command: composer update --classmap-authoritative && vendor/bin/phpstan analyze
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/WP/WP_UnitTestCase/*
bootstrapFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php