From 084f7c596f597885b47577f45ad9891391256cb0 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 19 Mar 2023 00:41:41 +0000 Subject: [PATCH] feat: improves `--bail` --- src/Plugins/Bail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Plugins/Bail.php b/src/Plugins/Bail.php index 2920a97a..d82bd2f6 100644 --- a/src/Plugins/Bail.php +++ b/src/Plugins/Bail.php @@ -22,7 +22,8 @@ final class Bail implements HandlesArguments if ($this->hasArgument('--bail', $arguments)) { $arguments = $this->popArgument('--bail', $arguments); - $arguments = $this->pushArgument('--stop-on-defect', $arguments); + $arguments = $this->pushArgument('--stop-on-failure', $arguments); + $arguments = $this->pushArgument('--stop-on-error', $arguments); } return $arguments;