Skip to content

Commit e855058

Browse files
committed
Update PHPUnit configuration
1 parent 619388f commit e855058

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.env
2-
.phpunit.result.cache
2+
/.phpunit.cache
33
composer.lock
44
phpunit.xml
55
/vendor

phpunit.xml.dist

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="vendor/autoload.php"
3+
cacheDirectory=".phpunit.cache"
34
backupGlobals="false"
4-
backupStaticAttributes="false"
5+
backupStaticProperties="false"
56
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
7+
failOnNotice="true"
8+
failOnWarning="true"
109
processIsolation="false"
1110
stopOnFailure="false">
1211
<testsuites>
1312
<testsuite name="Test Suite">
1413
<directory>tests</directory>
1514
</testsuite>
1615
</testsuites>
17-
<filter>
18-
<whitelist>
16+
<source>
17+
<include>
1918
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
19+
</include>
20+
</source>
2221
</phpunit>
23-

0 commit comments

Comments
 (0)