From 0b99c729378b7b02c26b57ab6b69612667a27b11 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Fri, 17 Mar 2023 11:50:41 +0000 Subject: [PATCH] fix: tries `getenv` --- src/Console/Thanks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Thanks.php b/src/Console/Thanks.php index d1ff4542..dba31f53 100644 --- a/src/Console/Thanks.php +++ b/src/Console/Thanks.php @@ -46,7 +46,7 @@ final class Thanks $bootstrapper = new BootView($this->output); $bootstrapper->boot(); - $wantsToSupport = ! isset($_ENV['PEST_NO_SUPPORT']) && $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask( + $wantsToSupport = getenv('PEST_NO_SUPPORT') !== 'true' && $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask( new ArrayInput([]), $this->output, new ConfirmationQuestion(