title: PHPUnit code coverage all test files plus another directory
body: <p>We are struggling to get desired results from the coverage report using phpunit.</p>
  
  <p>Previously, we were <strong>only</strong> capturing code coverage for files that had unit tests associated with them (I believe this is the default setting When the whitelist is empty).</p>
  
  <p>Now we would like to have a coverage report which includes our already tested files, along with one or two specific directories (which have files with 0% coverage). This should give us more realistic statistics. </p>
  
  <p>We have used an xml configuration file to try and accomplish this:</p>
  
  <pre><code>&lt;filter&gt;
      &lt;whitelist processUncoveredFilesFromWhitelist="true"&gt;
          &lt;directory suffix=".php"&gt;php/lib/&lt;/directory&gt;
      &lt;/whitelist&gt;
      &lt;blacklist&gt;
          &lt;directory suffix=".php"&gt;/usr/share/php/SymfonyComponents/YAML&lt;/directory&gt;
      &lt;/blacklist&gt;
  &lt;/filter&gt;
  </code></pre>
  
  <p>However, this config now only includes coverage report for that one specified directory in our whitelist. It is not capturing coverage for other files which we have written unit tests  for.</p>
  
  <p>How do I achieve a code coverage configuration which captures coverage for:</p>
  
  <p>1) all files that already have unit tests associated with them</p>
  
  <p>2) Other configurable directories</p>