Skip to content

Commit 3752f06

Browse files
Update PHPUnit configuration
1 parent 8916e6e commit 3752f06

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/.php-cs-fixer.php
44
/.php-cs-fixer.cache
55
/composer.lock
6-
/.phpunit.result.cache
6+
/.phpunit.cache

phpunit.xml

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5+
cacheDirectory=".phpunit.cache"
56
executionOrder="depends,defects"
67
requireCoverageMetadata="true"
78
beStrictAboutCoverageMetadata="true"
@@ -10,12 +11,14 @@
1011
failOnWarning="true"
1112
colors="true">
1213
<testsuites>
13-
<testsuite name="default">
14-
<directory suffix="Test.php">tests/unit</directory>
14+
<testsuite name="unit">
15+
<directory>tests/unit</directory>
1516
</testsuite>
1617
</testsuites>
1718

18-
<source>
19+
<source restrictDeprecations="true"
20+
restrictNotices="true"
21+
restrictWarnings="true">
1922
<include>
2023
<directory>src</directory>
2124
</include>

0 commit comments

Comments
 (0)