From ad03d02c53caf89b34ae5c73f59c3fcf1bd675d5 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 6 Jan 2019 18:39:18 -0800 Subject: [PATCH] Fix code coverage reporting > [phpunit] > Error: Incorrect whitelist config, no code coverage will be generated. Looks like somewhere along the way, the format for PHPUnit changed, however, it's not an error that produces a non-zero exit code, so I missed this. The ocular.phar command also prints an error, and also without non-zero exit code, hence making it hard to find when passing. > [ocular.phar] > Notifying that no code coverage data is available. --- phpunit.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index de079a812..92925e59c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,15 +1,13 @@ - - - - ./web/vendor - - - - - ./tests + + ./tests + + + ./src + +