Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
DariusIII
2018-08-15 13:30:47 +00:00
committed by StyleCI Bot
parent dc5f458005
commit 0eeba5532d
43 changed files with 153 additions and 154 deletions
+1 -1
View File
@@ -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
+5 -5
View File
@@ -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.
+8 -8
View File
@@ -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
{
+1 -1
View File
@@ -2,8 +2,8 @@
namespace Blacklight;
use App\Models\Category;
use App\Models\Group;
use App\Models\Category;
use App\Models\Settings;
/**
+10 -10
View File
@@ -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.
+1 -1
View File
@@ -2,8 +2,8 @@
namespace Blacklight;
use App\Models\Content;
use App\Models\User;
use App\Models\Content;
class Contents
{
+4 -4
View File
@@ -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
{
+2 -2
View File
@@ -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
{
+15 -15
View File
@@ -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;
/**
+9 -9
View File
@@ -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.
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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;
/**
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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.
+1 -1
View File
@@ -2,8 +2,8 @@
namespace Blacklight;
use App\Models\User;
use Page;
use App\Models\User;
final class NZBVortex
{
+2 -2
View File
@@ -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.
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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;
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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.
+1 -1
View File
@@ -2,8 +2,8 @@
namespace Blacklight;
use App\Models\Settings;
use GuzzleHttp\Client;
use App\Models\Settings;
/**
* Class SABnzbd.
+1 -1
View File
@@ -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
{
+1 -1
View File
@@ -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;
/**
+5 -5
View File
@@ -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.
+3 -3
View File
@@ -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;
+2 -2
View File
@@ -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;
/**
+1 -1
View File
@@ -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;
/**
+2 -2
View File
@@ -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.
+4 -4
View File
@@ -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.
+1 -1
View File
@@ -2,8 +2,8 @@
namespace Blacklight\libraries;
use Blacklight\ColorCLI;
use GuzzleHttp\Client;
use Blacklight\ColorCLI;
use GuzzleHttp\Exception\RequestException;
/**
+14 -14
View File
@@ -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
{
+15 -15
View File
@@ -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
@@ -2,8 +2,8 @@
namespace Blacklight\processing;
use App\Models\MultigroupPoster;
use Blacklight\NZBMultiGroup;
use App\Models\MultigroupPoster;
class ProcessReleasesMultiGroup extends ProcessReleases
{
+2 -2
View File
@@ -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.
+3 -3
View File
@@ -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
{
@@ -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
+3 -3
View File
@@ -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
+4 -4
View File
@@ -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;
/**
+4 -4
View File
@@ -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.
+1 -1
View File
@@ -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.
-1
View File
@@ -18,7 +18,6 @@
* @author niel
* @copyright 2014 nZEDb
*/
use App\Models\Category;
/**
+2 -2
View File
@@ -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.