Skip to content

Commit

Permalink
New config for phpunit code coverage (whitelist instead blacklist)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasa-c committed May 11, 2017
1 parent 5070b1a commit d4b21d7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
</testsuites>

<filter>
<blacklist>
<directory>./tests/</directory>
<directory>./vendor/</directory>
</blacklist>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./vendor/</directory>
<directory>./tests/</directory>
<file>./index.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit d4b21d7

Please sign in to comment.