phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
bootstrap="vendor/autoload.php"
>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<!-- the files included in the clover report -->
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
</logging>
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">tests/</directory>
</testsuite>
</testsuites>
</phpunit>