Skip to content

Commit f02c078

Browse files
committed
Update phpunit config
We can prevent risky tests, warnings and tests that doesn't test anything.
1 parent 7f461d6 commit f02c078

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4+
beStrictAboutTestsThatDoNotTestAnything="true"
45
beStrictAboutOutputDuringTests="true"
56
bootstrap="vendor/autoload.php"
67
colors="true"
78
convertErrorsToExceptions="true"
89
convertNoticesToExceptions="true"
910
convertWarningsToExceptions="true"
11+
failOnRisky="true"
12+
failOnWarning="true"
1013
processIsolation="false"
1114
stopOnError="false"
1215
stopOnFailure="false"

0 commit comments

Comments
 (0)