Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
DariusIII
2018-07-19 12:43:47 +00:00
committed by StyleCI Bot
parent d51b4ef7eb
commit 5baaf760ba
4 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -5,8 +5,8 @@
// --------------------------------------------------------------
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
use App\Models\Settings;
use Blacklight\Movie;
use App\Models\Settings;
use Blacklight\ColorCLI;
use Blacklight\utility\Utility;
use Illuminate\Support\Facades\DB;
+1 -1
View File
@@ -5,9 +5,9 @@
// --------------------------------------------------------------
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
use Blacklight\NZB;
use App\Models\Settings;
use Blacklight\ColorCLI;
use Blacklight\NZB;
use Blacklight\Releases;
use Blacklight\ConsoleTools;
use Blacklight\ReleaseImage;
+1 -1
View File
@@ -4,9 +4,9 @@
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
use Blacklight\ColorCLI;
use Blacklight\Console;
use App\Models\Category;
use Blacklight\ColorCLI;
use Illuminate\Support\Facades\DB;
$pdo = DB::connection()->getPdo();
-2
View File
@@ -8,7 +8,6 @@ use Blacklight\Categorize;
use Blacklight\ConsoleTools;
use Illuminate\Support\Facades\DB;
if (! (isset($argv[1]) && ($argv[1] === 'all' || $argv[1] === 'misc' || preg_match('/\([\d, ]+\)/', $argv[1]) || is_numeric($argv[1])))) {
exit(ColorCLI::error(
"\nThis script will attempt to re-categorize releases and is useful if changes have been made to Category.php.\n"
@@ -67,7 +66,6 @@ function reCategorize($argv)
// Returns the quantity of categorized releases.
function categorizeRelease($where, $update = true, $echooutput = false)
{
$cat = new Categorize();
$consoletools = new ConsoleTools();
$relcount = $chgcount = 0;