<?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>
</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"
>

    <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>

Set error_reporting to E_ALL when running tests
Set error_reporting to E_ALL when running tests

E_ALL should be on in the dev environment, but in case
it is not, force it when running tests
