<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" backupGlobals="false" colors="true"
         bootstrap="Tests/bootstrap.php" timeoutForSmallTests="120" timeoutForMediumTests="180"
         timeoutForLargeTests="240">
    <php>
        <ini name="error_reporting" value="-1"/>
        <env name="KERNEL_CLASS" value="App\Kernel"/>
        <env name="APP_ENV" value="test"/>
        <env name="APP_DEBUG" value="1"/>
        <env name="APP_SECRET" value="s$cretf0rt3st"/>
        <env name="SHELL_VERBOSITY" value="-1"/>
    </php>
    <source>
        <include>
            <directory suffix=".php">./</directory>
        </include>
        <exclude>
            <directory>./Resources</directory>
            <directory>./Tests</directory>
            <directory>./Tests-old</directory>
            <directory>./vendor</directory>
            <file>.php_cs-fixer.php</file>
        </exclude>
    </source>
    <testsuites>
        <testsuite name="OAuth2 Server Tests Suite">
            <directory>./Tests</directory>
        </testsuite>
    </testsuites>
    <coverage>
        <report>
            <cobertura outputFile="coverage/coverage.cobertura.xml"/>
        </report>
    </coverage>
</phpunit>

