From 0eeba5532df83fcfe8e72ae558bd8a2eca713682 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 15 Aug 2018 13:30:47 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- Blacklight/AniDB.php | 2 +- Blacklight/Binaries.php | 10 +++---- Blacklight/Books.php | 16 +++++----- Blacklight/Categorize.php | 2 +- Blacklight/Console.php | 20 ++++++------- Blacklight/Contents.php | 2 +- Blacklight/Games.php | 8 ++--- Blacklight/Genres.php | 4 +-- Blacklight/Movie.php | 30 +++++++++---------- Blacklight/Music.php | 18 +++++------ Blacklight/NNTP.php | 2 +- Blacklight/NZB.php | 2 +- Blacklight/NZBContents.php | 2 +- Blacklight/NZBGet.php | 4 +-- Blacklight/NZBVortex.php | 2 +- Blacklight/NameFixer.php | 4 +-- Blacklight/Nfo.php | 6 ++-- Blacklight/Regexes.php | 4 +-- Blacklight/ReleaseExtra.php | 6 ++-- Blacklight/ReleaseImage.php | 2 +- Blacklight/Releases.php | 4 +-- Blacklight/SABnzbd.php | 2 +- Blacklight/SphinxSearch.php | 2 +- Blacklight/Tmux.php | 2 +- Blacklight/XXX.php | 10 +++---- Blacklight/db/populate/AniDB.php | 6 ++-- Blacklight/http/API.php | 4 +-- Blacklight/http/Capabilities.php | 2 +- Blacklight/http/RSS.php | 4 +-- Blacklight/libraries/Forking.php | 8 ++--- Blacklight/libraries/TraktAPI.php | 2 +- Blacklight/processing/PostProcess.php | 28 ++++++++--------- Blacklight/processing/ProcessReleases.php | 30 +++++++++---------- .../processing/ProcessReleasesMultiGroup.php | 2 +- Blacklight/processing/Videos.php | 4 +-- Blacklight/processing/post/AniDB.php | 6 ++-- .../processing/post/ProcessAdditional.php | 16 +++++----- Blacklight/processing/tv/TMDB.php | 6 ++-- Blacklight/processing/tv/TV.php | 8 ++--- Blacklight/processing/tv/TVDB.php | 8 ++--- Blacklight/processing/tv/TraktTv.php | 2 +- Blacklight/utility/SmartyUtils.php | 1 - Blacklight/utility/Utility.php | 4 +-- 43 files changed, 153 insertions(+), 154 deletions(-) diff --git a/Blacklight/AniDB.php b/Blacklight/AniDB.php index 504ae18c3..b1ed472cf 100755 --- a/Blacklight/AniDB.php +++ b/Blacklight/AniDB.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\AnidbTitle; use App\Models\Category; +use App\Models\AnidbTitle; use Illuminate\Support\Facades\DB; class AniDB diff --git a/Blacklight/Binaries.php b/Blacklight/Binaries.php index 7919c42a4..2cd5588a9 100755 --- a/Blacklight/Binaries.php +++ b/Blacklight/Binaries.php @@ -2,16 +2,16 @@ namespace Blacklight; -use App\Models\BinaryBlacklist; use App\Models\Group; -use App\Models\MultigroupPoster; use App\Models\Settings; -use Blacklight\processing\ProcessReleasesMultiGroup; -use Illuminate\Database\QueryException; use Illuminate\Support\Carbon; -use Illuminate\Support\Facades\Cache; +use App\Models\BinaryBlacklist; +use App\Models\MultigroupPoster; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; +use Illuminate\Support\Facades\Cache; +use Illuminate\Database\QueryException; +use Blacklight\processing\ProcessReleasesMultiGroup; /** * Class Binaries. diff --git a/Blacklight/Books.php b/Blacklight/Books.php index e19ce4554..70bd1cc14 100755 --- a/Blacklight/Books.php +++ b/Blacklight/Books.php @@ -3,18 +3,18 @@ namespace Blacklight; use ApaiIO\ApaiIO; -use ApaiIO\Configuration\Country; -use ApaiIO\Configuration\GenericConfiguration; -use ApaiIO\Operations\Search; -use ApaiIO\Request\GuzzleRequest; -use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; +use GuzzleHttp\Client; +use App\Models\Release; use App\Models\BookInfo; use App\Models\Category; -use App\Models\Release; use App\Models\Settings; -use GuzzleHttp\Client; -use Illuminate\Support\Facades\Cache; +use ApaiIO\Operations\Search; +use ApaiIO\Configuration\Country; +use ApaiIO\Request\GuzzleRequest; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; +use ApaiIO\Configuration\GenericConfiguration; +use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; class Books { diff --git a/Blacklight/Categorize.php b/Blacklight/Categorize.php index ff21cf88e..c495af22d 100755 --- a/Blacklight/Categorize.php +++ b/Blacklight/Categorize.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Group; +use App\Models\Category; use App\Models\Settings; /** diff --git a/Blacklight/Console.php b/Blacklight/Console.php index 2931a4127..f9987cea5 100755 --- a/Blacklight/Console.php +++ b/Blacklight/Console.php @@ -3,19 +3,19 @@ namespace Blacklight; use ApaiIO\ApaiIO; -use ApaiIO\Configuration\Country; -use ApaiIO\Configuration\GenericConfiguration; -use ApaiIO\Operations\Search; -use ApaiIO\Request\GuzzleRequest; -use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; -use App\Models\Category; -use App\Models\ConsoleInfo; use App\Models\Genre; -use App\Models\Release; -use App\Models\Settings; use GuzzleHttp\Client; -use Illuminate\Support\Facades\Cache; +use App\Models\Release; +use App\Models\Category; +use App\Models\Settings; +use App\Models\ConsoleInfo; +use ApaiIO\Operations\Search; +use ApaiIO\Configuration\Country; +use ApaiIO\Request\GuzzleRequest; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; +use ApaiIO\Configuration\GenericConfiguration; +use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; /** * Class Console. diff --git a/Blacklight/Contents.php b/Blacklight/Contents.php index 6bd15c18a..b04f3116a 100755 --- a/Blacklight/Contents.php +++ b/Blacklight/Contents.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\Content; use App\Models\User; +use App\Models\Content; class Contents { diff --git a/Blacklight/Games.php b/Blacklight/Games.php index cff40815a..6bbfcf3be 100755 --- a/Blacklight/Games.php +++ b/Blacklight/Games.php @@ -2,16 +2,16 @@ namespace Blacklight; -use App\Models\Category; -use App\Models\GamesInfo; use App\Models\Genre; use App\Models\Release; +use App\Models\Category; use App\Models\Settings; +use App\Models\GamesInfo; +use Illuminate\Support\Carbon; use DBorsatto\GiantBomb\Client; use DBorsatto\GiantBomb\Config; -use Illuminate\Support\Carbon; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; class Games { diff --git a/Blacklight/Genres.php b/Blacklight/Genres.php index 18f823bd8..462ede02c 100755 --- a/Blacklight/Genres.php +++ b/Blacklight/Genres.php @@ -2,10 +2,10 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Genre; -use Illuminate\Support\Facades\Cache; +use App\Models\Category; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; class Genres { diff --git a/Blacklight/Movie.php b/Blacklight/Movie.php index 612a2e87a..d224d9c89 100755 --- a/Blacklight/Movie.php +++ b/Blacklight/Movie.php @@ -2,24 +2,24 @@ namespace Blacklight; -use aharen\OMDbAPI; -use App\Models\Category; -use App\Models\MovieInfo; -use App\Models\Release; -use App\Models\Settings; -use Blacklight\libraries\FanartTV; -use Blacklight\processing\tv\TraktTv; -use Blacklight\utility\Utility; -use GuzzleHttp\Client; -use Illuminate\Support\Carbon; -use Illuminate\Support\Facades\Cache; -use Illuminate\Support\Facades\DB; -use Imdb\Config; use Imdb\Title; +use Imdb\Config; use Tmdb\ApiToken; -use Tmdb\Client as TmdbClient; -use Tmdb\Exception\TmdbApiException; +use aharen\OMDbAPI; +use GuzzleHttp\Client; +use App\Models\Release; +use App\Models\Category; +use App\Models\Settings; +use App\Models\MovieInfo; use Tmdb\Helper\ImageHelper; +use Illuminate\Support\Carbon; +use Tmdb\Client as TmdbClient; +use Blacklight\utility\Utility; +use Blacklight\libraries\FanartTV; +use Illuminate\Support\Facades\DB; +use Tmdb\Exception\TmdbApiException; +use Blacklight\processing\tv\TraktTv; +use Illuminate\Support\Facades\Cache; use Tmdb\Repository\ConfigurationRepository; /** diff --git a/Blacklight/Music.php b/Blacklight/Music.php index 65c25cfb5..e1cb2c058 100755 --- a/Blacklight/Music.php +++ b/Blacklight/Music.php @@ -3,18 +3,18 @@ namespace Blacklight; use ApaiIO\ApaiIO; -use ApaiIO\Configuration\GenericConfiguration; +use App\Models\Genre; +use GuzzleHttp\Client; +use App\Models\Release; +use App\Models\Category; +use App\Models\Settings; +use App\Models\MusicInfo; use ApaiIO\Operations\Search; use ApaiIO\Request\GuzzleRequest; -use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; -use App\Models\Category; -use App\Models\Genre; -use App\Models\MusicInfo; -use App\Models\Release; -use App\Models\Settings; -use GuzzleHttp\Client; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; +use ApaiIO\Configuration\GenericConfiguration; +use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject; /** * Class Music. diff --git a/Blacklight/NNTP.php b/Blacklight/NNTP.php index 55c49f5c5..7c2ed54d2 100755 --- a/Blacklight/NNTP.php +++ b/Blacklight/NNTP.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Extensions\util\Yenc; use App\Models\Settings; +use App\Extensions\util\Yenc; /** * Class for connecting to the usenet, retrieving articles and article headers, diff --git a/Blacklight/NZB.php b/Blacklight/NZB.php index d83a1e222..1d138242b 100755 --- a/Blacklight/NZB.php +++ b/Blacklight/NZB.php @@ -2,9 +2,9 @@ namespace Blacklight; -use App\Extensions\util\Versions; use App\Models\Settings; use Blacklight\utility\Utility; +use App\Extensions\util\Versions; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/NZBContents.php b/Blacklight/NZBContents.php index 4f5688879..193627f2c 100755 --- a/Blacklight/NZBContents.php +++ b/Blacklight/NZBContents.php @@ -4,8 +4,8 @@ namespace Blacklight; use App\Models\Release; use App\Models\Settings; -use Blacklight\processing\PostProcess; use Blacklight\utility\Utility; +use Blacklight\processing\PostProcess; /** * Gets information contained within the NZB. diff --git a/Blacklight/NZBGet.php b/Blacklight/NZBGet.php index fd4cf3690..f270b3819 100755 --- a/Blacklight/NZBGet.php +++ b/Blacklight/NZBGet.php @@ -2,10 +2,10 @@ namespace Blacklight; -use App\Models\Release; -use Blacklight\utility\Utility; use GuzzleHttp\Client; +use App\Models\Release; use GuzzleHttp\Psr7\Request; +use Blacklight\utility\Utility; /** * Class NZBGet. diff --git a/Blacklight/NZBVortex.php b/Blacklight/NZBVortex.php index 53a606ae9..62a5df978 100755 --- a/Blacklight/NZBVortex.php +++ b/Blacklight/NZBVortex.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\User; use Page; +use App\Models\User; final class NZBVortex { diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index 26271db8f..ad6817205 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -2,13 +2,13 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Group; use App\Models\Predb; use App\Models\Release; -use Blacklight\processing\PostProcess; +use App\Models\Category; use Blacklight\utility\Utility; use Illuminate\Support\Facades\DB; +use Blacklight\processing\PostProcess; /** * Class NameFixer. diff --git a/Blacklight/Nfo.php b/Blacklight/Nfo.php index bee83fba9..c7fc02c42 100755 --- a/Blacklight/Nfo.php +++ b/Blacklight/Nfo.php @@ -4,13 +4,13 @@ namespace Blacklight; use App\Models\Group; use App\Models\Release; -use App\Models\ReleaseNfo; use App\Models\Settings; -use Blacklight\processing\PostProcess; +use App\Models\ReleaseNfo; +use dariusiii\rarinfo\SfvInfo; use Blacklight\utility\Utility; use dariusiii\rarinfo\Par2Info; -use dariusiii\rarinfo\SfvInfo; use Illuminate\Support\Facades\DB; +use Blacklight\processing\PostProcess; /** * Class Nfo diff --git a/Blacklight/Regexes.php b/Blacklight/Regexes.php index 82c3cfeb5..e4adbf5c2 100755 --- a/Blacklight/Regexes.php +++ b/Blacklight/Regexes.php @@ -2,11 +2,11 @@ namespace Blacklight; +use App\Models\Group; +use App\Models\Release; use App\Models\Category; use App\Models\CategoryRegex; use App\Models\CollectionRegex; -use App\Models\Group; -use App\Models\Release; use App\Models\ReleaseNamingRegex; use Illuminate\Support\Facades\DB; diff --git a/Blacklight/ReleaseExtra.php b/Blacklight/ReleaseExtra.php index ca145b342..69df7f400 100755 --- a/Blacklight/ReleaseExtra.php +++ b/Blacklight/ReleaseExtra.php @@ -3,11 +3,11 @@ namespace Blacklight; use App\Models\AudioData; -use App\Models\ReleaseExtraFull; -use App\Models\ReleaseSubtitle; -use App\Models\ReleaseUnique; use App\Models\VideoData; +use App\Models\ReleaseUnique; +use App\Models\ReleaseSubtitle; use Blacklight\utility\Utility; +use App\Models\ReleaseExtraFull; use Illuminate\Support\Facades\DB; class ReleaseExtra diff --git a/Blacklight/ReleaseImage.php b/Blacklight/ReleaseImage.php index e3f875e9f..b844ba065 100755 --- a/Blacklight/ReleaseImage.php +++ b/Blacklight/ReleaseImage.php @@ -3,12 +3,12 @@ namespace Blacklight; use Illuminate\Support\Facades\File; +use Intervention\Image\Facades\Image; use Illuminate\Support\Facades\Storage; use Intervention\Image\Exception\ImageException; use Intervention\Image\Exception\NotFoundException; use Intervention\Image\Exception\NotReadableException; use Intervention\Image\Exception\NotWritableException; -use Intervention\Image\Facades\Image; /** * Resize/save/delete images to disk. diff --git a/Blacklight/Releases.php b/Blacklight/Releases.php index 1fbe5c28d..67a066e63 100755 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -2,13 +2,13 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Group; use App\Models\Release; +use App\Models\Category; use App\Models\Settings; use Blacklight\utility\Utility; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; /** * Class Releases. diff --git a/Blacklight/SABnzbd.php b/Blacklight/SABnzbd.php index 3e35352e6..9ea8fa98b 100755 --- a/Blacklight/SABnzbd.php +++ b/Blacklight/SABnzbd.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\Settings; use GuzzleHttp\Client; +use App\Models\Settings; /** * Class SABnzbd. diff --git a/Blacklight/SphinxSearch.php b/Blacklight/SphinxSearch.php index 81786b337..33056e2de 100755 --- a/Blacklight/SphinxSearch.php +++ b/Blacklight/SphinxSearch.php @@ -3,10 +3,10 @@ namespace Blacklight; use App\Models\Release; -use Foolz\SphinxQL\Drivers\Pdo\Connection; use Foolz\SphinxQL\Helper; use Foolz\SphinxQL\SphinxQL; use Illuminate\Support\Facades\DB; +use Foolz\SphinxQL\Drivers\Pdo\Connection; class SphinxSearch { diff --git a/Blacklight/Tmux.php b/Blacklight/Tmux.php index 5fa93c86b..ccd597661 100755 --- a/Blacklight/Tmux.php +++ b/Blacklight/Tmux.php @@ -2,9 +2,9 @@ namespace Blacklight; -use App\Extensions\util\Versions; use App\Models\Category; use App\Models\Settings; +use App\Extensions\util\Versions; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/XXX.php b/Blacklight/XXX.php index 2f1181110..899c2df1d 100755 --- a/Blacklight/XXX.php +++ b/Blacklight/XXX.php @@ -2,18 +2,18 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Genre; use App\Models\Release; -use App\Models\Settings; use App\Models\XxxInfo; +use App\Models\Category; +use App\Models\Settings; +use Illuminate\Support\Facades\DB; use Blacklight\processing\adult\ADE; use Blacklight\processing\adult\ADM; use Blacklight\processing\adult\AEBN; -use Blacklight\processing\adult\Hotmovies; -use Blacklight\processing\adult\Popporn; use Illuminate\Support\Facades\Cache; -use Illuminate\Support\Facades\DB; +use Blacklight\processing\adult\Popporn; +use Blacklight\processing\adult\Hotmovies; /** * Class XXX. diff --git a/Blacklight/db/populate/AniDB.php b/Blacklight/db/populate/AniDB.php index 87062bd54..e2777b6a8 100755 --- a/Blacklight/db/populate/AniDB.php +++ b/Blacklight/db/populate/AniDB.php @@ -2,11 +2,11 @@ namespace Blacklight\db\populate; -use App\Models\AnidbEpisode; -use App\Models\AnidbInfo; -use App\Models\AnidbTitle; use App\Models\Settings; use Blacklight\ColorCLI; +use App\Models\AnidbInfo; +use App\Models\AnidbTitle; +use App\Models\AnidbEpisode; use Blacklight\ReleaseImage; use Illuminate\Support\Carbon; diff --git a/Blacklight/http/API.php b/Blacklight/http/API.php index 5bc5e4a1c..ab5c22a4d 100755 --- a/Blacklight/http/API.php +++ b/Blacklight/http/API.php @@ -21,9 +21,9 @@ namespace Blacklight\http; -use App\Models\AudioData; -use App\Models\Category; use App\Models\Group; +use App\Models\Category; +use App\Models\AudioData; use Blacklight\utility\Utility; /** diff --git a/Blacklight/http/Capabilities.php b/Blacklight/http/Capabilities.php index e3cc409d6..91f3ab693 100755 --- a/Blacklight/http/Capabilities.php +++ b/Blacklight/http/Capabilities.php @@ -21,10 +21,10 @@ namespace Blacklight\http; -use App\Extensions\util\Versions; use App\Models\Category; use App\Models\Settings; use Blacklight\utility\Utility; +use App\Extensions\util\Versions; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/http/RSS.php b/Blacklight/http/RSS.php index e5f8f8e65..aa107ae3f 100755 --- a/Blacklight/http/RSS.php +++ b/Blacklight/http/RSS.php @@ -2,11 +2,11 @@ namespace Blacklight\http; -use App\Models\Category; use Blacklight\NZB; +use App\Models\Category; use Blacklight\Releases; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; /** * Class RSS -- contains specific functions for RSS. diff --git a/Blacklight/libraries/Forking.php b/Blacklight/libraries/Forking.php index 7885818d3..e92dcfd2a 100755 --- a/Blacklight/libraries/Forking.php +++ b/Blacklight/libraries/Forking.php @@ -2,13 +2,13 @@ namespace Blacklight\libraries; +use Blacklight\Nfo; +use Blacklight\NZB; +use Blacklight\NNTP; use App\Models\Settings; use Blacklight\ColorCLI; -use Blacklight\Nfo; -use Blacklight\NNTP; -use Blacklight\NZB; -use Blacklight\processing\PostProcess; use Illuminate\Support\Facades\DB; +use Blacklight\processing\PostProcess; /** * Class Forking. diff --git a/Blacklight/libraries/TraktAPI.php b/Blacklight/libraries/TraktAPI.php index a4906dd13..85e4d54d4 100755 --- a/Blacklight/libraries/TraktAPI.php +++ b/Blacklight/libraries/TraktAPI.php @@ -2,8 +2,8 @@ namespace Blacklight\libraries; -use Blacklight\ColorCLI; use GuzzleHttp\Client; +use Blacklight\ColorCLI; use GuzzleHttp\Exception\RequestException; /** diff --git a/Blacklight/processing/PostProcess.php b/Blacklight/processing/PostProcess.php index 4ffc308c4..6ca6771d9 100755 --- a/Blacklight/processing/PostProcess.php +++ b/Blacklight/processing/PostProcess.php @@ -2,29 +2,29 @@ namespace Blacklight\processing; -use App\Models\Category; +use Blacklight\Nfo; +use Blacklight\XXX; +use Blacklight\NNTP; use App\Models\Group; -use App\Models\Release; -use App\Models\ReleaseFile; -use App\Models\Settings; use Blacklight\Books; -use Blacklight\Console; use Blacklight\Games; use Blacklight\Movie; use Blacklight\Music; +use App\Models\Release; +use Blacklight\Console; +use Blacklight\Sharing; +use App\Models\Category; +use App\Models\Settings; use Blacklight\NameFixer; -use Blacklight\Nfo; -use Blacklight\NNTP; -use Blacklight\processing\post\AniDB; -use Blacklight\processing\post\ProcessAdditional; +use App\Models\ReleaseFile; +use Illuminate\Support\Carbon; +use dariusiii\rarinfo\Par2Info; use Blacklight\processing\tv\TMDB; -use Blacklight\processing\tv\TraktTv; use Blacklight\processing\tv\TVDB; use Blacklight\processing\tv\TVMaze; -use Blacklight\Sharing; -use Blacklight\XXX; -use dariusiii\rarinfo\Par2Info; -use Illuminate\Support\Carbon; +use Blacklight\processing\post\AniDB; +use Blacklight\processing\tv\TraktTv; +use Blacklight\processing\post\ProcessAdditional; class PostProcess { diff --git a/Blacklight/processing/ProcessReleases.php b/Blacklight/processing/ProcessReleases.php index 80663a4e4..bf1ee447e 100755 --- a/Blacklight/processing/ProcessReleases.php +++ b/Blacklight/processing/ProcessReleases.php @@ -2,23 +2,23 @@ namespace Blacklight\processing; -use App\Models\Category; -use App\Models\Group; -use App\Models\MultigroupPoster; -use App\Models\Predb; -use App\Models\Release; -use App\Models\ReleaseRegex; -use App\Models\ReleasesGroups; -use App\Models\Settings; -use Blacklight\Categorize; -use Blacklight\ColorCLI; -use Blacklight\ConsoleTools; -use Blacklight\Genres; -use Blacklight\NNTP; use Blacklight\NZB; -use Blacklight\ReleaseCleaning; -use Blacklight\ReleaseImage; +use Blacklight\NNTP; +use App\Models\Group; +use App\Models\Predb; +use Blacklight\Genres; +use App\Models\Release; +use App\Models\Category; +use App\Models\Settings; +use Blacklight\ColorCLI; use Blacklight\Releases; +use Blacklight\Categorize; +use App\Models\ReleaseRegex; +use Blacklight\ConsoleTools; +use Blacklight\ReleaseImage; +use App\Models\ReleasesGroups; +use Blacklight\ReleaseCleaning; +use App\Models\MultigroupPoster; use Illuminate\Support\Facades\DB; class ProcessReleases diff --git a/Blacklight/processing/ProcessReleasesMultiGroup.php b/Blacklight/processing/ProcessReleasesMultiGroup.php index 84dc6d60e..3b00cdf9c 100644 --- a/Blacklight/processing/ProcessReleasesMultiGroup.php +++ b/Blacklight/processing/ProcessReleasesMultiGroup.php @@ -2,8 +2,8 @@ namespace Blacklight\processing; -use App\Models\MultigroupPoster; use Blacklight\NZBMultiGroup; +use App\Models\MultigroupPoster; class ProcessReleasesMultiGroup extends ProcessReleases { diff --git a/Blacklight/processing/Videos.php b/Blacklight/processing/Videos.php index 68a2dcc45..015fa491c 100755 --- a/Blacklight/processing/Videos.php +++ b/Blacklight/processing/Videos.php @@ -21,11 +21,11 @@ namespace Blacklight\processing; -use App\Models\TvInfo; use App\Models\Video; +use App\Models\TvInfo; use App\Models\VideoAlias; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; /** * Parent class for TV/Film and any similar classes to inherit from. diff --git a/Blacklight/processing/post/AniDB.php b/Blacklight/processing/post/AniDB.php index 88dc9e86b..91e7fa387 100755 --- a/Blacklight/processing/post/AniDB.php +++ b/Blacklight/processing/post/AniDB.php @@ -2,13 +2,13 @@ namespace Blacklight\processing\post; -use App\Models\AnidbEpisode; +use Blacklight\NZB; use App\Models\Category; use App\Models\Settings; use Blacklight\ColorCLI; -use Blacklight\db\populate\AniDB as PaDb; -use Blacklight\NZB; +use App\Models\AnidbEpisode; use Illuminate\Support\Facades\DB; +use Blacklight\db\populate\AniDB as PaDb; class AniDB { diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 33ff893fe..1abfef726 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -2,24 +2,24 @@ namespace Blacklight\processing\post; -use App\Models\Category; +use Blacklight\Nfo; +use Blacklight\NZB; +use Blacklight\NNTP; use App\Models\Group; use App\Models\Release; -use App\Models\ReleaseFile; +use App\Models\Category; use App\Models\Settings; -use Blacklight\Categorize; use Blacklight\ColorCLI; +use Blacklight\Releases; use Blacklight\NameFixer; -use Blacklight\Nfo; -use Blacklight\NNTP; -use Blacklight\NZB; +use Blacklight\Categorize; +use App\Models\ReleaseFile; use Blacklight\ReleaseExtra; use Blacklight\ReleaseImage; -use Blacklight\Releases; use Blacklight\SphinxSearch; use Blacklight\utility\Utility; -use dariusiii\rarinfo\ArchiveInfo; use dariusiii\rarinfo\Par2Info; +use dariusiii\rarinfo\ArchiveInfo; use Illuminate\Support\Facades\DB; class ProcessAdditional diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index 95cd7b931..88eb332de 100755 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -2,13 +2,13 @@ namespace Blacklight\processing\tv; +use Tmdb\Client; +use Tmdb\ApiToken; use App\Models\Settings; use Blacklight\ColorCLI; use Blacklight\ReleaseImage; -use Tmdb\ApiToken; -use Tmdb\Client; -use Tmdb\Exception\TmdbApiException; use Tmdb\Helper\ImageHelper; +use Tmdb\Exception\TmdbApiException; use Tmdb\Repository\ConfigurationRepository; class TMDB extends TV diff --git a/Blacklight/processing/tv/TV.php b/Blacklight/processing/tv/TV.php index 9e6692172..f582aa0ad 100755 --- a/Blacklight/processing/tv/TV.php +++ b/Blacklight/processing/tv/TV.php @@ -2,14 +2,14 @@ namespace Blacklight\processing\tv; -use App\Models\Category; +use App\Models\Video; +use App\Models\TvInfo; use App\Models\Release; +use App\Models\Category; use App\Models\Settings; use App\Models\TvEpisode; -use App\Models\TvInfo; -use App\Models\Video; -use Blacklight\processing\Videos; use Blacklight\utility\Country; +use Blacklight\processing\Videos; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/processing/tv/TVDB.php b/Blacklight/processing/tv/TVDB.php index 45f58f107..b24351743 100755 --- a/Blacklight/processing/tv/TVDB.php +++ b/Blacklight/processing/tv/TVDB.php @@ -2,14 +2,14 @@ namespace Blacklight\processing\tv; +use Blacklight\ColorCLI; use Adrenth\Thetvdb\Client; +use Blacklight\ReleaseImage; +use Adrenth\Thetvdb\Exception\UnauthorizedException; use Adrenth\Thetvdb\Exception\CouldNotLoginException; +use Adrenth\Thetvdb\Exception\RequestFailedException; use Adrenth\Thetvdb\Exception\InvalidArgumentException; use Adrenth\Thetvdb\Exception\InvalidJsonInResponseException; -use Adrenth\Thetvdb\Exception\RequestFailedException; -use Adrenth\Thetvdb\Exception\UnauthorizedException; -use Blacklight\ColorCLI; -use Blacklight\ReleaseImage; /** * Class TVDB -- functions used to post process releases against TVDB. diff --git a/Blacklight/processing/tv/TraktTv.php b/Blacklight/processing/tv/TraktTv.php index d3b5c06c0..3bbf4e059 100755 --- a/Blacklight/processing/tv/TraktTv.php +++ b/Blacklight/processing/tv/TraktTv.php @@ -4,9 +4,9 @@ namespace Blacklight\processing\tv; use App\Models\Settings; use Blacklight\ColorCLI; -use Blacklight\libraries\TraktAPI; use Blacklight\ReleaseImage; use Blacklight\utility\Time; +use Blacklight\libraries\TraktAPI; /** * Class TraktTv. diff --git a/Blacklight/utility/SmartyUtils.php b/Blacklight/utility/SmartyUtils.php index cf312480a..d55465ed8 100755 --- a/Blacklight/utility/SmartyUtils.php +++ b/Blacklight/utility/SmartyUtils.php @@ -18,7 +18,6 @@ * @author niel * @copyright 2014 nZEDb */ - use App\Models\Category; /** diff --git a/Blacklight/utility/Utility.php b/Blacklight/utility/Utility.php index 6b9c675fb..63627b34e 100755 --- a/Blacklight/utility/Utility.php +++ b/Blacklight/utility/Utility.php @@ -2,12 +2,12 @@ namespace Blacklight\utility; -use App\Extensions\util\Versions; use App\Models\Settings; use Blacklight\ColorCLI; -use Illuminate\Contracts\Pagination\LengthAwarePaginator; +use App\Extensions\util\Versions; use Illuminate\Support\Facades\DB; use Symfony\Component\Process\Process; +use Illuminate\Contracts\Pagination\LengthAwarePaginator; /** * Class Utility.