diff --git a/src/Console/Thanks.php b/src/Console/Thanks.php index 342df2e1..d1ff4542 100644 --- a/src/Console/Thanks.php +++ b/src/Console/Thanks.php @@ -46,12 +46,12 @@ final class Thanks $bootstrapper = new BootView($this->output); $bootstrapper->boot(); - $wantsToSupport = $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask( + $wantsToSupport = ! isset($_ENV['PEST_NO_SUPPORT']) && $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask( new ArrayInput([]), $this->output, new ConfirmationQuestion( ' Wanna show Pest some love by starring it on GitHub?', - true, + false, ) ); diff --git a/src/Plugins/Init.php b/src/Plugins/Init.php index aa66df09..2cedc83b 100644 --- a/src/Plugins/Init.php +++ b/src/Plugins/Init.php @@ -11,7 +11,6 @@ use Pest\Support\View; use Pest\TestSuite; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Process\Process; /** * @internal