From 112bddc93b426d94afda36707d4d95d9838e2943 Mon Sep 17 00:00:00 2001 From: hamid Date: Tue, 29 Aug 2023 17:22:04 +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=20(#742)?= 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) }; }