Skip to content

Commit e6b4f50

Browse files
committed
phpunit settings
1 parent 4b4368f commit e6b4f50

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

phpunit.xml

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
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+
cacheDirectory=".phpunit.cache"
46
colors="true"
5-
processIsolation="false"
6-
stopOnFailure="false">
7+
executionOrder="depends,defects"
8+
shortenArraysForExportThreshold="10"
9+
beStrictAboutOutputDuringTests="true"
10+
displayDetailsOnPhpunitDeprecations="true"
11+
failOnPhpunitDeprecation="true"
12+
failOnRisky="true"
13+
failOnWarning="true">
714
<testsuites>
8-
<testsuite name="Test Suite">
15+
<testsuite name="default">
916
<directory>tests</directory>
1017
</testsuite>
1118
</testsuites>
12-
<php>
13-
<env name="DB_CONNECTION" value="testing"/>
14-
<env name="DB_CONNECTION" value="testing"/>
15-
</php>
19+
20+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
21+
<include>
22+
<directory>src</directory>
23+
</include>
24+
</source>
1625
</phpunit>

0 commit comments

Comments
 (0)