Skip to content

Commit

Permalink
Fix PHPUnit whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Mar 12, 2018
1 parent 8e8240f commit d345f14
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions phpunit.xml.dist
Expand Up @@ -3,35 +3,29 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.7/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<php>
<!-- Needed because @dataProvider uses iterator_to_array() -->
<ini name="memory_limit" value="1G" />
<ini name="error_reporting" value="-1" />
</php>
<testsuites>
<testsuite name="Amp Cluster Test">
<testsuite name="Router">
<directory>test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">lib</directory>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Amp\PHPUnit\LoopReset"/>
</listeners>
<logging>
<log type="coverage-html" target="build/coverage" title="Amp" highlight="true"/>
<log type="coverage-html" target="build/coverage" title="Router" highlight="true"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>

0 comments on commit d345f14

Please sign in to comment.