This commit is contained in:
DariusIII
2018-02-14 13:24:27 +01:00
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
use Colors\Color;
use nntmux\XXX;
use Colors\Color;
use nntmux\ColorCLI;
use GuzzleHttp\Client;
use GuzzleHttp\Cookie\CookieJar;
+5 -5
View File
@@ -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');
}
/**
+1 -2
View File
@@ -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 ';