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.
This commit is contained in:
Owen Leibman 2021-11-17 06:03:05 -08:00 committed by Adrien Crivelli
parent f46e3a1916
commit f0f7449e2d
1 changed files with 16 additions and 23 deletions

View File

@ -1,25 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <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">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <coverage>
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" <include>
bootstrap="./tests/bootstrap.php" <directory suffix=".php">./src</directory>
backupGlobals="true" </include>
colors="true" <exclude>
cacheResultFile="/tmp/.phpspreadsheet.phpunit.result.cache" <directory>./src/PhpSpreadsheet/Shared/JAMA</directory>
> <directory>./src/PhpSpreadsheet/Writer/PDF</directory>
</exclude>
</coverage>
<php> <php>
<ini name="memory_limit" value="2048M"/> <ini name="memory_limit" value="2048M"/>
</php> </php>
<testsuite name="PhpSpreadsheet Unit Test Suite"> <testsuite name="PhpSpreadsheet Unit Test Suite">
<directory>./tests/PhpSpreadsheetTests</directory> <directory>./tests/PhpSpreadsheetTests</directory>
</testsuite> </testsuite>
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/PhpSpreadsheet/Shared/JAMA</directory>
<directory>./src/PhpSpreadsheet/Writer/PDF</directory>
</exclude>
</whitelist>
</filter>
</phpunit> </phpunit>