From 17550d61b2ad06ea0bcefad9fd3d03f53c733cd7 Mon Sep 17 00:00:00 2001 From: dyszczo <krzysztof.dyszczyk@gmail.com> Date: Thu, 29 Apr 2021 13:58:23 +0200 Subject: [PATCH] fixed phpstan stubs, another library update --- phpstan.neon.dist | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 1aa0b2e..ac1141c 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: -- GitLab