sajad torkamani
./vendor/bin/phpunit --stop-on-failure

This will stop PHPUnit when it encounters the first error or failure.