Skip to content

Commit f0f7449

Browse files
oleibmanPowerKiKi
authored andcommitted
Update Phpunit Configuration File
After upgrading, Phpunit indicates that the current schema is deprecated. Used Phpunit's own `--migrate-configuration` option to create current version.
1 parent f46e3a1 commit f0f7449

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

phpunit.xml.dist

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
bootstrap="./tests/bootstrap.php"
6-
backupGlobals="true"
7-
colors="true"
8-
cacheResultFile="/tmp/.phpspreadsheet.phpunit.result.cache"
9-
>
10-
<php>
11-
<ini name="memory_limit" value="2048M"/>
12-
</php>
13-
<testsuite name="PhpSpreadsheet Unit Test Suite">
14-
<directory>./tests/PhpSpreadsheetTests</directory>
15-
</testsuite>
16-
<filter>
17-
<whitelist>
18-
<directory suffix=".php">./src</directory>
19-
<exclude>
20-
<directory>./src/PhpSpreadsheet/Shared/JAMA</directory>
21-
<directory>./src/PhpSpreadsheet/Writer/PDF</directory>
22-
</exclude>
23-
</whitelist>
24-
</filter>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="./tests/bootstrap.php" backupGlobals="true" colors="true" cacheResultFile="/tmp/.phpspreadsheet.phpunit.result.cache">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">./src</directory>
6+
</include>
7+
<exclude>
8+
<directory>./src/PhpSpreadsheet/Shared/JAMA</directory>
9+
<directory>./src/PhpSpreadsheet/Writer/PDF</directory>
10+
</exclude>
11+
</coverage>
12+
<php>
13+
<ini name="memory_limit" value="2048M"/>
14+
</php>
15+
<testsuite name="PhpSpreadsheet Unit Test Suite">
16+
<directory>./tests/PhpSpreadsheetTests</directory>
17+
</testsuite>
2518
</phpunit>

0 commit comments

Comments
 (0)