From a51bcbbcdc87517deafa52527674759d11ad2897 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 18 Dec 2019 18:00:20 +0100 Subject: [PATCH] Align code coverage settings with documentation After noticing slow coverage collection on our jenkins server for our symfony project, i noticed after some time that we were missing the on the whitelist configuration the processUncoveredFilesFromWhitelist attribute. I tried to backtrace why this configuration was missing and realized that this might come from the phpunit flex recipe. So here we go with the fix. Fixes issues with slow coverage collection mentioned here: https://github.com/sebastianbergmann/phpunit/issues/2489 Also the documentation already includes the configuration: https://symfony.com/doc/4.4/create_framework/unit_testing.html https://symfony.com/doc/current/create_framework/unit_testing.html --- phpunit/phpunit/4.7/phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit/phpunit/4.7/phpunit.xml.dist b/phpunit/phpunit/4.7/phpunit.xml.dist index e4aab3c5..f50358e2 100644 --- a/phpunit/phpunit/4.7/phpunit.xml.dist +++ b/phpunit/phpunit/4.7/phpunit.xml.dist @@ -20,8 +20,8 @@ - - src + + src