summaryrefslogtreecommitdiffstats
path: root/phpunit.xml.dist
diff options
context:
space:
mode:
authorDavey Shafik <me@daveyshafik.com>2020-08-11 08:09:43 +0000
committerDavey Shafik <me@daveyshafik.com>2020-08-11 08:09:43 +0000
commitdb8266f22ccd67bdaefc2332f4748ce323bc139d (patch)
treee62cd1a5e841ae4c6e3052e4ca10c92382ae64ef /phpunit.xml.dist
parent52bbc85ed7733b037f38d542af6ba7189d0a7db5 (diff)
downloadphp7-mysql-shim-db8266f22ccd67bdaefc2332f4748ce323bc139d.zip
php7-mysql-shim-db8266f22ccd67bdaefc2332f4748ce323bc139d.tar.gz
php7-mysql-shim-db8266f22ccd67bdaefc2332f4748ce323bc139d.tar.bz2
Fixup phpunit configorigin/fixup-tests
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist42
1 files changed, 20 insertions, 22 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 7e17ddf..c86a15f 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,22 +1,20 @@
-<?xml version="1.0"?>
-<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" verbose="true" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
- <coverage processUncoveredFiles="true">
- <include>
- <directory suffix=".php">./lib</directory>
- </include>
- <report>
- <clover outputFile="build/coverage/coverage.clover"/>
- <html outputDirectory="build/coverage/report"/>
- <xml outputDirectory="build/coverage/xml"/>
- </report>
- </coverage>
- <php>
- <ini name="display_errors" value="on"/>
- </php>
- <logging/>
- <testsuites>
- <testsuite name="Unit Test">
- <directory>./tests</directory>
- </testsuite>
- </testsuites>
-</phpunit>
+<phpunit colors="true" verbose="true" bootstrap="tests/bootstrap.php">
+ <php>
+ <ini name="display_errors" value="on"/>
+ </php>
+ <logging>
+ <log type="coverage-html" target="build/coverage/report"/>
+ <log type="coverage-xml" target="build/coverage/xml"/>
+ <log type="coverage-clover" target="build/coverage/coverage.clover"/>
+ </logging>
+ <testsuites>
+ <testsuite name="Unit Test">
+ <directory>./tests</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">./lib</directory>
+ </whitelist>
+ </filter>
+</phpunit> \ No newline at end of file