Skip to content

Commit 41eb981

Browse files
reinholdfueredersebastianbergmann
authored andcommitted
Make consistent WRT "--dont-report-useless-tests"
See #15: "--report-useless-tests" (old) vs. "--dont-report-useless-tests" (new)
1 parent a03ca05 commit 41eb981

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/risky-tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ the tests.
1414
Useless Tests
1515
#############
1616

17-
PHPUnit can be strict about tests that do not test anything. This check
18-
can be enabled by using the ``--report-useless-tests``
17+
PHPUnit is by default strict about tests that do not test anything. This check
18+
can be disabled by using the ``--dont-report-useless-tests``
1919
option on the commandline or by setting
20-
``beStrictAboutTestsThatDoNotTestAnything="true"`` in
20+
``beStrictAboutTestsThatDoNotTestAnything="false"`` in
2121
PHPUnit's XML configuration file.
2222

2323
A test that does not perform an assertion will be marked as risky

0 commit comments

Comments
 (0)