<?xml version="1.0" encoding="UTF-8"?>
<phpunit
        backupGlobals="false"
        backupStaticAttributes="false"
        bootstrap="tests/bootstrap.php"
        colors="true"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
>

    <testsuites>
        <testsuite name="src">
            <directory>./tests/src</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html"
             target="tests/log/coverage"
             charset="UTF-8"
             yui="true"
             highlight="false"
             lowUpperBound="70"
             highLowerBound="90"
        />
        <log type="testdox-html" target="tests/log/testdox.html"/>
        <log type="coverage-clover" target="tests/log/coverage.xml" />
    </logging>
    <php>
        <ini name="error_reporting" value="E_ALL" />
    </php>
</phpunit>

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
        backupGlobals="false"
        backupStaticAttributes="false"
        bootstrap="tests/bootstrap.php"
        colors="true"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
        forceCoversAnnotation="true"
>

    <testsuites>
        <testsuite name="src">
            <directory>./tests/src</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html"
             target="tests/log/coverage"
             charset="UTF-8"
             yui="true"
             highlight="false"
             lowUpperBound="70"
             highLowerBound="90"
        />
        <log type="testdox-html" target="tests/log/testdox.html"/>
        <log type="coverage-clover" target="tests/log/coverage.xml" />
    </logging>
    <php>
        <ini name="error_reporting" value="E_ALL" />
    </php>
</phpunit>

Enforce @covers annotations in unit tests
Enforce @covers annotations in unit tests

Enforcing @covers prevents us from accidentally marking code as
covered when it was not intentionally being tested.
