Skip to content

Commit 491e236

Browse files
authored
Update phpunit.xml
1 parent 1f5bc81 commit 491e236

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

phpunit.xml

+18-21
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
cacheResultFile=".phpunit.cache/test-results"
6-
executionOrder="depends,defects"
7-
forceCoversAnnotation="true"
8-
beStrictAboutCoversAnnotation="true"
9-
beStrictAboutOutputDuringTests="true"
10-
beStrictAboutTodoAnnotatedTests="true"
11-
convertDeprecationsToExceptions="true"
12-
failOnRisky="true"
13-
failOnWarning="true"
14-
verbose="true">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="true" stopOnFailure="false" verbose="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">./src/main/php</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
</report>
10+
</coverage>
11+
<php>
12+
<ini name="error_reporting" value="-1"/>
13+
<ini name="memory_limit" value="-1"/>
14+
<ini name="xdebug.mode" value="coverage"/>
15+
<env name="XDEBUG_MODE" value="coverage"/>
16+
</php>
1517
<testsuites>
16-
<testsuite name="default">
17-
<directory>src/test/php</directory>
18+
<testsuite name="LeetCode in PHP Test Suite">
19+
<directory suffix="Test.php">./src/test/php</directory>
1820
</testsuite>
1921
</testsuites>
20-
21-
<filter>
22-
<whitelist>
23-
<directory suffix=".php">./src/main/php</directory>
24-
</whitelist>
25-
</filter>
22+
<logging/>
2623
</phpunit>

0 commit comments

Comments
 (0)