From 03ea99f67a38078ecba022ada9a41196e94594aa Mon Sep 17 00:00:00 2001 From: Hamid Mahmoudpour Date: Mon, 28 Aug 2023 11:43:39 +0330 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9Craw=E2=80=9D=20type=20in=20handl?= =?UTF-8?q?eStream=20method=20for=20custom=20json=20in=20stdout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Commands/Concerns/InteractsWithIO.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Commands/Concerns/InteractsWithIO.php b/src/Commands/Concerns/InteractsWithIO.php index 59f27686e..6d7464b99 100644 --- a/src/Commands/Concerns/InteractsWithIO.php +++ b/src/Commands/Concerns/InteractsWithIO.php @@ -238,6 +238,7 @@ public function handleStream($stream, $verbosity = null) 'request' => $this->requestInfo($stream, $verbosity), 'throwable' => $this->throwableInfo($stream, $verbosity), 'shutdown' => $this->shutdownInfo($stream, $verbosity), + 'raw' => $this->raw(json_encode($stream)), default => $this->info(json_encode($stream), $verbosity) }; }