From 04b423be6bb9534472a4a92bf42de23c344acc26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Wed, 6 Dec 2017 17:19:44 +0100 Subject: [PATCH] Fixed default phpunit.xml.dist: add filter/whitelist If we don't do that, phpunit is not able to compute the code coverage. We get the following error without it: ``` Error: Incorrect whitelist config, no code coverage will be generated. ``` --- phpunit/phpunit/4.7/phpunit.xml.dist | 6 ++++++ symfony/phpunit-bridge/3.3/phpunit.xml.dist | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/phpunit/phpunit/4.7/phpunit.xml.dist b/phpunit/phpunit/4.7/phpunit.xml.dist index 73545f63..258f9d06 100644 --- a/phpunit/phpunit/4.7/phpunit.xml.dist +++ b/phpunit/phpunit/4.7/phpunit.xml.dist @@ -22,4 +22,10 @@ tests/ + + + + ./src/ + + diff --git a/symfony/phpunit-bridge/3.3/phpunit.xml.dist b/symfony/phpunit-bridge/3.3/phpunit.xml.dist index 930e0c2b..e578316a 100644 --- a/symfony/phpunit-bridge/3.3/phpunit.xml.dist +++ b/symfony/phpunit-bridge/3.3/phpunit.xml.dist @@ -23,6 +23,12 @@ + + + ./src/ + + +