php-codesniffer/phpunit.xml.dist

42 lines
1.3 KiB
XML

<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.1/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutChangesToGlobalState="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
cacheResult="true"
cacheResultFile="temp/.phpunit.result.cache"
stopOnDefect="true"
executionOrder="defects"
>
<testsuites>
<testsuite name="Coding Standard">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<logging>
<log
type="coverage-html"
target="temp/coverage"
/>
<log type="coverage-clover" target="temp/coverage.xml"/>
<log
type="coverage-text"
target="php://stdout"
showUncoveredFiles="true"
showOnlySummary="true"
/>
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">SlevomatCodingStandard</directory>
</whitelist>
</filter>
</phpunit>