Skip to content

Commit cb16a75

Browse files
committed
qa: update PHPUnit config to latest schema
- v9.3 - also adds result cache to ignore list Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 952c58f commit cb16a75

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.phpcs-cache
2+
/.phpunit.result.cache
23
/clover.xml
34
/coveralls-upload.json
45
/phpunit.xml

phpunit.xml.dist

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
<phpunit bootstrap="./vendor/autoload.php" colors="true">
1+
<?xml version="1.0"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
bootstrap="./vendor/autoload.php"
5+
colors="true"
6+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd">
7+
<coverage processUncoveredFiles="true">
8+
<include>
9+
<directory suffix=".php">src</directory>
10+
</include>
11+
</coverage>
12+
213
<testsuites>
314
<testsuite name="Mezzio Plates Tests">
415
<directory>./test</directory>
516
</testsuite>
617
</testsuites>
7-
8-
<filter>
9-
<whitelist processUncoveredFilesFromWhitelist="true">
10-
<directory suffix=".php">src</directory>
11-
</whitelist>
12-
</filter>
1318
</phpunit>

0 commit comments

Comments
 (0)