1Add the stopOnFailure="true" attribute to your phpunit.xml root element.
2
3// You can also use it in the CLI: phpunit --stop-on-failure
4
5// Info from manual and some others that are maybe useful for you:
6stopOnError - "Stop execution upon first error."
7stopOnFailure - "Stop execution upon first error or failure."
8stopOnIncomplete - "Stop execution upon first incomplete test."