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
This commit is contained in:
Kevin
2019-12-18 18:00:20 +01:00
committed by GitHub
parent a796c1226b
commit a51bcbbcdc
+2 -2
View File
@@ -20,8 +20,8 @@
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>