Skip to content

Commit 5c42396

Browse files
committed
chore: update phpunit.xml to include source directory for code coverage
1 parent 6e98e69 commit 5c42396

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

phpunit.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
> <testsuites>
7-
<testsuite name="Unit">
8-
<directory suffix="Test.php">./tests</directory>
9-
</testsuite>
10-
</testsuites>
5+
colors="true">
6+
<testsuites>
7+
<testsuite name="Unit">
8+
<directory suffix="Test.php">./tests</directory>
9+
</testsuite>
10+
</testsuites>
11+
<source>
12+
<include>
13+
<directory suffix=".php">src</directory>
14+
</include>
15+
</source>
1116
</phpunit>

0 commit comments

Comments
 (0)