Make WordPress Core

Changeset 37449


Ignore:
Timestamp:
05/17/2016 08:22:57 PM (9 years ago)
Author:
jorbin
Message:

Set a whitelist for PHPUnit code coverage.

PHPUnit requires a whitelist as of version 5 in order to generate code coverage. See https://github.com/sebastianbergmann/phpunit-documentation/issues/335 .

Fixes #36867.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpunit.xml.dist

    r37269 r37449  
    4444        </listener>
    4545    </listeners>
     46    <filter>
     47        <whitelist processUncoveredFilesFromWhitelist="true">
     48            <directory suffix=".php">src</directory>
     49        </whitelist>
     50    </filter>
    4651</phpunit>
Note: See TracChangeset for help on using the changeset viewer.