Skip to content

Commit 40990d5

Browse files
committed
Use new format of XML configuration for PHPUnit
1 parent b07aa17 commit 40990d5

File tree

1 file changed

+20
-26
lines changed

1 file changed

+20
-26
lines changed

phpunit.xml.dist

+20-26
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- Copyright 1999-2021. Plesk International GmbH. -->
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
bootstrap="vendor/autoload.php"
6-
verbose="true"
7-
colors="true">
8-
<testsuites>
9-
<testsuite name="E2E">
10-
<directory>./tests</directory>
11-
</testsuite>
12-
</testsuites>
13-
14-
<filter>
15-
<whitelist processUncoveredFilesFromWhitelist="true">
16-
<directory suffix=".php">./src</directory>
17-
</whitelist>
18-
</filter>
19-
20-
<php>
21-
<ini name="error_reporting" value="-1"/>
22-
<env name="REMOTE_URL" value=""/>
23-
<env name="REMOTE_PASSWORD" value=""/>
24-
</php>
25-
26-
<logging>
27-
<log type="coverage-clover" target="coverage.xml"/>
28-
</logging>
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" verbose="true" colors="true">
4+
<coverage processUncoveredFiles="true">
5+
<include>
6+
<directory suffix=".php">./src</directory>
7+
</include>
8+
<report>
9+
<clover outputFile="coverage.xml"/>
10+
</report>
11+
</coverage>
12+
<testsuites>
13+
<testsuite name="E2E">
14+
<directory>./tests</directory>
15+
</testsuite>
16+
</testsuites>
17+
<php>
18+
<ini name="error_reporting" value="-1"/>
19+
<env name="REMOTE_URL" value=""/>
20+
<env name="REMOTE_PASSWORD" value=""/>
21+
</php>
22+
<logging/>
2923
</phpunit>

0 commit comments

Comments
 (0)