From 0d2419e40207a26e007263475a78ab16a38ebb4d Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 2 Jan 2025 13:06:42 +0100 Subject: [PATCH] updated message --- src/Console/Daemon.php | 4 ++-- src/Console/JetstreamDaemon.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Console/Daemon.php b/src/Console/Daemon.php index 6b1476a52e..eac7b935a8 100644 --- a/src/Console/Daemon.php +++ b/src/Console/Daemon.php @@ -90,8 +90,8 @@ HELP; protected function doExecute() { - if ($this->executable != 'bin/console.php') { - $this->out(sprintf("Deprecated use of '%s', use '%s daemon' instead", $this->executable, 'bin/console.php')); + if ($this->executable !== 'bin/console.php') { + $this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php daemon' instead", $this->executable)); } if ($this->mode->isInstall()) { diff --git a/src/Console/JetstreamDaemon.php b/src/Console/JetstreamDaemon.php index 2d591d52d9..133bf9c073 100644 --- a/src/Console/JetstreamDaemon.php +++ b/src/Console/JetstreamDaemon.php @@ -77,8 +77,8 @@ HELP; protected function doExecute() { - if ($this->executable != 'bin/console.php') { - $this->out(sprintf("Deprecated use of '%s', use '%s jetstream' instead", $this->executable, 'bin/console.php')); + if ($this->executable !== 'bin/console.php') { + $this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php jetstream' instead", $this->executable)); } if ($this->mode->isInstall()) {