mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
+5
-5
@@ -14,7 +14,7 @@ class ColorCLI
|
||||
*/
|
||||
public static function debug($str)
|
||||
{
|
||||
return color('Debug: ' .$str)->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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 ';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user