-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
29 lines (26 loc) · 947 Bytes
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="vendor/squizlabs/php_codesniffer/tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="false"
>
<testsuites>
<testsuite name="Submitty CodeSniffer Test Suite">
<file>./vendor/squizlabs/php_codesniffer/tests/AllTests.php</file>
</testsuite>
</testsuites>
<php>
<!-- This line prevents issues with PHPCS trying to load sniff files for
standards which we aren't testing.
Ref: https://github.com/squizlabs/PHP_CodeSniffer/pull/1146 -->
<env name="PHPCS_IGNORE_TESTS" value="Generic,MySource,PEAR,PSR1,PSR2,PSR12,SlevomatCodingStandard,Squiz,Zend"/>
</php>
<filter>
<whitelist>
<directory suffix=".php">./SubmittyStandard/Sniffs</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="report/clover.xml"/>
<log type="coverage-html" target="report" />
</logging>
</phpunit>