Skip to content

Commit 60781c0

Browse files
committed
Allow collecting PHPUnit coverage
1 parent 083a54e commit 60781c0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ phpunit.xml
1212
phpcs.xml
1313
.phpcs.xml
1414
.phpunit.result.cache
15+
build/logs

phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,10 @@
1212
<directory prefix="Test" suffix=".php">tests/tests</directory>
1313
</testsuite>
1414
</testsuites>
15+
16+
<coverage processUncoveredFiles="false">
17+
<include>
18+
<directory suffix=".php">src</directory>
19+
</include>
20+
</coverage>
1521
</phpunit>

0 commit comments

Comments
 (0)