phpunit.xml
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="true"
colors="true"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
>
<coverage>
<report>
<clover outputFile=".build/coverage/clover.xml"/>
<html outputDirectory=".build/coverage/html"/>
<text outputFile="php://stdout"/>
</report>
</coverage>
<testsuites>
<testsuite name="unit">
<directory>tests/src</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile=".build/coverage/junit.xml"/>
</logging>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>