Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    At least as of PHPUnit 11, the "stopOnFailure" doesn't stop on errors anymore. A combination of "--stop-on-error" and "--stop-on-failure" does the trick. Docs: docs.phpunit.de/en/11.0/textui.html#automatically-stop-when Commented Feb 11 at 15:14
  • 1
    @SjorsOttjes --stop-on-failure isn't working for me any more at all? PHPUnit 10.5.13. --stop-on-defect works however. Commented Mar 19 at 14:28