From a51bcbbcdc87517deafa52527674759d11ad2897 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 18 Dec 2019 18:00:20 +0100 Subject: [PATCH 1/2] 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 From d8149875dacf4eb1eefea12d08133f578b6672e2 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 18 Dec 2019 18:22:12 +0100 Subject: [PATCH 2/2] Code coverage settings for phpunit-bridge Same reasoning as commit a51bcbbcdc87517deafa52527674759d11ad2897 --- symfony/phpunit-bridge/4.1/phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symfony/phpunit-bridge/4.1/phpunit.xml.dist b/symfony/phpunit-bridge/4.1/phpunit.xml.dist index 5b7c8202..7ad83637 100644 --- a/symfony/phpunit-bridge/4.1/phpunit.xml.dist +++ b/symfony/phpunit-bridge/4.1/phpunit.xml.dist @@ -22,8 +22,8 @@ - - src + + src