title: PHPUnit Code Coverage not working and always saying incorrect whitelist config
body: <p>Ich checked on several sources on the network and also here on stack overflow but couldn't solve it so far.</p>
  
  <p>Heres my config:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --&gt;
  &lt;phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
       backupGlobals="false"
       colors="true"
       bootstrap="../../src/test.bootstrap.php"
       convertErrorsToExceptions="true"
       convertNoticesToExceptions="true"
       convertWarningsToExceptions="true"
       processIsolation="false"
       stopOnError="false"
       stopOnFailure="false"
       stopOnIncomplete="false"
       stopOnSkipped="false"
       stopOnRisky="false"
       verbose="true"
  &gt;
  &lt;!--printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/ResultPrinter.php"--&gt;
  &lt;!--printerClass="Emoji\PHPUnit\ResultPrinter"--&gt;
  &lt;php&gt;
      &lt;ini name="error_reporting" value="-1" /&gt;
      &lt;server name="KERNEL_DIR" value="src/" /&gt;
      &lt;env name="BOOTSTRAP_CLEAR_CACHE_ENV" value="testing"/&gt;
  &lt;/php&gt;
  
  &lt;loggin&gt;
      &lt;log type="coverage-html" target="build/coverage"/&gt;
      &lt;log type="coverage-clover" target="build/logs/clover.xml"/&gt;
      &lt;log type="coverage-crap4j" target="build/logs/crap4j.xml"/&gt;
      &lt;log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/&gt;
  &lt;/loggin&gt;
  
  &lt;testsuites&gt;
      &lt;testsuite name="Project Test Suite"&gt;
          &lt;directory&gt;src/*/*Bundle/Tests&lt;/directory&gt;
          &lt;directory&gt;src/*/Bundle/*Bundle/Tests&lt;/directory&gt;
      &lt;/testsuite&gt;
  &lt;/testsuites&gt;
  
  &lt;filter&gt;
      &lt;whitelist&gt;
          &lt;directory&gt;../src&lt;/directory&gt;
          &lt;exclude&gt;
              &lt;directory&gt;src/*/*Bundle/Resources&lt;/directory&gt;
              &lt;directory&gt;src/*/*Bundle/Tests&lt;/directory&gt;
              &lt;directory&gt;src/*/Bundle/*Bundle/Resources&lt;/directory&gt;
              &lt;directory&gt;src/*/Bundle/*Bundle/Tests&lt;/directory&gt;
          &lt;/exclude&gt;
      &lt;/whitelist&gt;
  &lt;/filter&gt;
  &lt;/phpunit&gt;
  </code></pre>
  
  <p>Due to the Build Server limitations I need to call phpunit with the following command:</p>
  
  <pre><code>./build/bin/phpunit.phar -c build/config/phpunit.xml --coverage-clover build/logs/clover.xml --coverage-crap4j build/logs/crap4j.xml --coverage-html build/coverage --coverage-xml build/logs/coverage.xml --log-junit build/logs/junit.xml --testdox-html build/testdox/testdox.html  --testdox-xml build/logs/testdox.xml src/ -v
  </code></pre>
  
  <p>Everything works except code coverage heres the Result Output:</p>
  
  <pre><code>    PHPUnit 6.1.4 by Sebastian Bergmann and contributors.
  
      Runtime:       PHP 7.1.5-1+0~20170522123046.25+jessie~1.gbpb8686b with Xdebug 2.6.0-dev
      Configuration: /home/testcase/build-directories/build/config/phpunit.xml
      Error:         Incorrect whitelist config, no code coverage will be generated.
  
      ..................                                                18 / 18 (100%)
  
      Time: 945 ms, Memory: 6.00MB
  
      OK (18 tests, 68 assertions)
  </code></pre>
  
  <p>I'm a little bit irritated as unit tests itself are working.
  The Reds Message can be ignored (Hope so) as the Redis server is not yet fully configured.</p>
  
  <p>I'm using oh-unit 6.1.4</p>
  
  <p>Please give me a clue where the error is in my configuration</p>