Skip to content

Commit 3cfcdd2

Browse files
test: Missing phpunit.xml
1 parent 1cf4bea commit 3cfcdd2

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

phpunit.xml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
4+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
6+
backupGlobals="false"
7+
colors="true"
8+
bootstrap="./tests/bootstrap.php"
9+
convertDeprecationsToExceptions="false"
10+
>
11+
<php>
12+
<ini name="display_errors" value="1" />
13+
<ini name="error_reporting" value="-1" />
14+
</php>
15+
16+
<testsuites>
17+
<testsuite name="TreeWalker Test Suite">
18+
<directory>tests</directory>
19+
</testsuite>
20+
</testsuites>
21+
22+
<coverage cacheDirectory="coverage"
23+
includeUncoveredFiles="true"
24+
processUncoveredFiles="true"
25+
pathCoverage="false"
26+
ignoreDeprecatedCodeUnits="true"
27+
disableCodeCoverageIgnore="true">
28+
<include>
29+
<directory suffix=".php">src</directory>
30+
</include>
31+
<exclude>
32+
<directory>tests</directory>
33+
</exclude>
34+
<report>
35+
<text outputFile="php://stdout"/>
36+
<clover outputFile="coverage/clover.xml"/>
37+
<cobertura outputFile="coverage/cobertura.xml"/>
38+
</report>
39+
</coverage>
40+
</phpunit>

0 commit comments

Comments
 (0)