Skip to content

Commit e92e7d8

Browse files
author
Ante Prkacin
committed
NGSTACK-1000 migrate phpunit.xml to a newer version
1 parent 2a75ac1 commit e92e7d8

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

phpunit.xml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.4/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
35
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
convertErrorsToExceptions="true"
6-
convertNoticesToExceptions="true"
7-
convertWarningsToExceptions="true"
86
colors="true"
9-
verbose="true"
107
processIsolation="false"
118
stopOnFailure="false"
129
>
@@ -15,18 +12,25 @@
1512
<directory>tests</directory>
1613
</testsuite>
1714
</testsuites>
18-
<filter>
19-
<whitelist>
15+
16+
<!-- <coverage cacheDirectory=".phpunit.cache/code-coverage">-->
17+
<!-- <report>-->
18+
<!-- <clover outputFile="build/logs/clover.xml" />-->
19+
<!-- <html outputDirectory="build/coverage"/>-->
20+
<!-- <text outputFile="build/coverage.txt"/>-->
21+
<!-- </report>-->
22+
<!-- </coverage>-->
23+
24+
<source>
25+
<include>
2026
<directory suffix=".php">bundle</directory>
21-
<exclude>
22-
<directory>bundle/Resources</directory>
23-
</exclude>
24-
</whitelist>
25-
</filter>
27+
</include>
28+
<exclude>
29+
<directory>bundle/Resources</directory>
30+
</exclude>
31+
</source>
32+
2633
<logging>
27-
<log type="junit" target="build/report.junit.xml"/>
28-
<log type="coverage-html" target="build/coverage"/>
29-
<log type="coverage-text" target="build/coverage.txt"/>
30-
<log type="coverage-clover" target="build/logs/clover.xml"/>
34+
<junit outputFile="build/report.junit.xml"/>
3135
</logging>
3236
</phpunit>

0 commit comments

Comments
 (0)