<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         verbose="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         bootstrap="vendor/autoload.php">
  <testsuites>
    <testsuite name="Codacy PHP Coverage">
      <directory>tests</directory>
    </testsuite>
  </testsuites>
  <logging>
    <log type="coverage-html" target="build/coverage-html"/>
    <log type="coverage-xml" target="build/coverage-xml"/>
    <log type="coverage-clover" target="build/logs/clover.xml"/>
    <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
    <log type="tap" target="build/report.tap"/>
    <log type="coverage-text" target="build/coverage.txt"/>
  </logging>
  <filter>
    <whitelist addUncoveredFilesFromWhitelist="true">
      <directory suffix=".php">src</directory>
      <exclude>
        <file>src/Codacy/Coverage/Util/CodacyApiClient.php</file>
        <file>src/Codacy/Coverage/CodacyPhpCoverage.php</file>
      </exclude>
    </whitelist>
  </filter>
</phpunit>
