Skip to content

Commit

Permalink
Merge pull request #128 from Jhnbrn90/migrate-phpunit-xml
Browse files Browse the repository at this point in the history
Update deprecated PHPUnit XML schema (which is used by PHPUnit 9.0)
  • Loading branch information
Jeroen-G committed Apr 9, 2022
2 parents f82277b + 1061324 commit 98dc78d
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions phpunit.xml
@@ -1,25 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Packager">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./report" lowUpperBound="50" highLowerBound="80" />
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>src/</directory>
</include>
<report>
<html outputDirectory="./report" lowUpperBound="50" highLowerBound="80"/>
</report>
</coverage>
<testsuites>
<testsuite name="Packager">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<logging/>
</phpunit>

0 comments on commit 98dc78d

Please sign in to comment.