Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2020-03-13 20:00:25 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-03-13 20:01:27 +0300
commit51f388306192fb54d16faaa5aacb796def36c6fb (patch)
treeacd2a127d1e8e0124feebfb4808bfc5ea06f8e24 /phpunit.xml.dist
parent0721fbbc1e3b7b2f05162cbb5353a0de9c012174 (diff)
Exclude node_modules from PHP code coverage
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist13
1 files changed, 5 insertions, 8 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 492f2a5df0..1b95f0ee71 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -23,14 +23,11 @@
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
- <!-- composer packages -->
- <directory>vendor/</directory>
- <!-- excluding the tests from the coverage -->
- <directory>test/</directory>
- <!-- excluding the twig cache from the coverage -->
- <directory>tmp/</directory>
- <!-- examples for users -->
- <directory suffix=".php">examples</directory>
+ <directory>examples</directory>
+ <directory>node_modules</directory>
+ <directory>test</directory>
+ <directory>tmp</directory>
+ <directory>vendor</directory>
</exclude>
</whitelist>
</filter>