diff --git a/app/Extensions/helper/helpers.php b/app/Extensions/helper/helpers.php index 885145d46..c142d89fc 100644 --- a/app/Extensions/helper/helpers.php +++ b/app/Extensions/helper/helpers.php @@ -1,7 +1,7 @@ light_gray() . PHP_EOL; + return color('Debug: '.$str)->light_gray().PHP_EOL; } /** @@ -23,7 +23,7 @@ class ColorCLI */ public static function info($str): string { - return color('Info: ' .$str)->fg('magenta'); + return color('Info: '.$str)->fg('magenta'); } /** @@ -32,7 +32,7 @@ class ColorCLI */ public static function notice($str): string { - return color('Notice: ' .$str)->blue(); + return color('Notice: '.$str)->blue(); } /** @@ -41,7 +41,7 @@ class ColorCLI */ public static function warning($str): string { - return color('Warning: ' .$str)->fg('yellow'); + return color('Warning: '.$str)->fg('yellow'); } /** @@ -50,7 +50,7 @@ class ColorCLI */ public static function error($str): string { - return color('Error: ' . $str)->fg('red'); + return color('Error: '.$str)->fg('red'); } /** diff --git a/nntmux/db/DbUpdate.php b/nntmux/db/DbUpdate.php index b34f133b1..56c3e3115 100755 --- a/nntmux/db/DbUpdate.php +++ b/nntmux/db/DbUpdate.php @@ -21,7 +21,6 @@ namespace nntmux\db; -use Colors\Color; use nntmux\ColorCLI; use nntmux\utility\Git; use App\Models\Settings; @@ -120,7 +119,7 @@ class DbUpdate $count = \count($files); ColorCLI::doEcho(ColorCLI::header(" $count found"), true); if ($count > 0) { - ColorCLI::doEcho(ColorCLI::header('Processing...'),true); + ColorCLI::doEcho(ColorCLI::header('Processing...'), true); natsort($files); $local = $this->pdo->isLocalDb() ? '' : 'LOCAL ';