diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 1aa0b2e615ffed4a7f0972e148ea3035a13e6e6e..ac1141cb5273316cc397bda15a0d9a947cb12112 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -9,8 +9,10 @@ parameters: level: max paths: - %currentWorkingDirectory%/src/ - autoload_files: - - %currentWorkingDirectory%/vendor/autoload.php + bootstrapFiles: + - %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php + - %currentWorkingDirectory%/vendor/wpdesk/wp-wpdesk-composer/director/woocommerce-stubs.php + - %currentWorkingDirectory%/vendor/wpdesk/wp-wpdesk-composer/director/woocommerce-packages-stubs.php excludes_analyse: - %currentWorkingDirectory%/src/Plugin/view/ ignoreErrors: