Skip to content

Commit 42824fb

Browse files
authored
Add whitelist section to enable code coverage (#314)
1 parent 08307a8 commit 42824fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

phpunit.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@
1919
<directory suffix="Test.php">./tests/Feature</directory>
2020
</testsuite>
2121
</testsuites>
22+
<filter>
23+
<whitelist processUncoveredFilesFromWhitelist="true">
24+
<directory suffix=".php">./src</directory>
25+
</whitelist>
26+
</filter>
2227
<php>
2328
<const name="STUBS_PATH" value="stubs"/>
2429
</php>
25-
</phpunit>
30+
</phpunit>

0 commit comments

Comments
 (0)