mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user