Skip to content

Commit a4197e3

Browse files
author
Andrey Helldar
committed
Updated phpunit configuration file
1 parent 8c49546 commit a4197e3

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

phpunit.xml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnError="false"
11-
stopOnFailure="false"
12-
verbose="true"
2+
<phpunit
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
backupGlobals="false"
6+
backupStaticAttributes="false"
7+
bootstrap="vendor/autoload.php"
8+
colors="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
processIsolation="false"
13+
stopOnError="false"
14+
stopOnFailure="false"
15+
verbose="true"
1316
>
17+
<coverage processUncoveredFiles="true">
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
<report>
22+
<clover outputFile="build/logs/clover.xml"/>
23+
<html outputDirectory="build/logs/coverage"/>
24+
<text outputFile="build/logs/coverage.txt"/>
25+
</report>
26+
</coverage>
1427
<php>
1528
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
1629
</php>
@@ -19,14 +32,4 @@
1932
<directory suffix="Test.php">./tests</directory>
2033
</testsuite>
2134
</testsuites>
22-
<filter>
23-
<whitelist processUncoveredFilesFromWhitelist="true">
24-
<directory suffix=".php">./src</directory>
25-
</whitelist>
26-
</filter>
27-
<logging>
28-
<log type="coverage-clover" target="build/logs/clover.xml"/>
29-
<log type="coverage-text" target="build/logs/coverage.txt"/>
30-
<log type="coverage-html" target="build/logs/coverage"/>
31-
</logging>
3235
</phpunit>

0 commit comments

Comments
 (0)