summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpstan.neon10
1 files changed, 8 insertions, 2 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 29ca27d26..1b8eecd14 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -13,8 +13,14 @@ parameters:
- vendor/*
- plugins/*/vendor/*
- plugins.local/*/vendor/*
-
excludePaths:
- node_modules/*
+ - vendor/**/tests/*
+ - vendor/**/test/*
+ - plugins/**/tests/*
+ - plugins/**/Test/*
+ - plugins.local/**/tests/*
+ - plugins/**/test/*
+ - plugins.local/**/test/*
paths:
- - . \ No newline at end of file
+ - .