Skip to content

Commit 2ea83f4

Browse files
authored
Merge pull request #449 from greg0ire/forbid-warnings
Be stricter about what happens in tests
2 parents aba1f27 + 0d60e39 commit 2ea83f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
beStrictAboutTestsThatDoNotTestAnything="true"
99
beStrictAboutOutputDuringTests="true"
1010
beStrictAboutChangesToGlobalState="true"
11+
failOnNotice="true"
12+
failOnWarning="true"
13+
displayDetailsOnTestsThatTriggerNotices="true"
14+
displayDetailsOnTestsThatTriggerWarnings="true"
15+
displayDetailsOnTestsThatTriggerErrors="true"
1116
cacheDirectory=".phpunit.cache"
1217
requireCoverageMetadata="false"
1318
>

0 commit comments

Comments
 (0)