diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index fe20f2caa..0bf7ddfae 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -36,6 +36,7 @@
./src/Composer/Autoload/ClassLoader.php
+ ./src/Composer/PHPStan/
diff --git a/tests/complete.phpunit.xml b/tests/complete.phpunit.xml
index b30398e96..e5e4fe0f1 100644
--- a/tests/complete.phpunit.xml
+++ b/tests/complete.phpunit.xml
@@ -35,6 +35,7 @@
../src/Composer/Autoload/ClassLoader.php
+ ../src/Composer/PHPStan/