Skip to content

Commit 60fe3f4

Browse files
committed
Tweak configuration for strictness and add mockery listener
1 parent 2ac0ada commit 60fe3f4

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

phpunit.xml.dist

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22

3-
<phpunit colors="true" strict="true" bootstrap="vendor/autoload.php">
3+
<phpunit
4+
colors="true"
5+
checkForUnintentionallyCoveredCode="true"
6+
beStrictAboutOutputDuringTests="true"
7+
forceCoversAnnotation="true"
8+
verbose="true"
9+
bootstrap="vendor/autoload.php"
10+
>
411
<testsuites>
512
<testsuite name="unit">
613
<directory>./tests/unit</directory>
@@ -12,7 +19,13 @@
1219
</whitelist>
1320
<blacklist>
1421
<directory>./examples/</directory>
15-
<directory>./vendor/</directory>
22+
<directory>./vendor/</directory>
1623
</blacklist>
1724
</filter>
25+
<listeners>
26+
<listener
27+
class="Mockery\Adapter\Phpunit\TestListener"
28+
file="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"
29+
/>
30+
</listeners>
1831
</phpunit>

0 commit comments

Comments
 (0)