Skip to content

Commit 6f842c0

Browse files
committed
Update phpunit.xml
From deprecated schema. And add .phpunit.cache to .gitignore.
1 parent 9dce6e8 commit 6f842c0

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ composer.lock
22
vendor
33
.php-cs-fixer.cache
44
.phpunit.result.cache
5+
.phpunit.cache

phpunit.xml

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
colors="true">
6-
<testsuites>
7-
<testsuite name="Test Suite">
8-
<directory suffix="Test.php">./tests</directory>
9-
</testsuite>
10-
</testsuites>
11-
<coverage processUncoveredFiles="true">
12-
<include>
13-
<directory suffix=".php">./src</directory>
14-
</include>
15-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
3+
<testsuites>
4+
<testsuite name="Test Suite">
5+
<directory suffix="Test.php">./tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">./src</directory>
11+
</include>
12+
</source>
1613
</phpunit>

0 commit comments

Comments
 (0)