From 3849281a21a5cf7944bb56e11e0999527471b56c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Koterba?= Date: Thu, 5 Feb 2026 09:20:52 +0100 Subject: [PATCH] fix: Respect --quiet and --silent in queue:work command --- src/queue/src/Console/WorkCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/queue/src/Console/WorkCommand.php b/src/queue/src/Console/WorkCommand.php index fef95365a..edea7155b 100644 --- a/src/queue/src/Console/WorkCommand.php +++ b/src/queue/src/Console/WorkCommand.php @@ -192,6 +192,10 @@ protected function listenForEvents(): void */ protected function writeOutput(Job $job, $status, ?Throwable $exception = null): void { + if ($this->output->isQuiet() || $this->output->isSilent()) { + return; + } + $this->outputUsingJson() ? $this->writeOutputAsJson($job, $status, $exception) : $this->writeOutputForCli($job, $status);