diff --git a/Blacklight/AniDB.php b/Blacklight/AniDB.php index 67227b77c..6d4c42237 100755 --- a/Blacklight/AniDB.php +++ b/Blacklight/AniDB.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\Category; use App\Models\AnidbTitle; +use App\Models\Category; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/Binaries.php b/Blacklight/Binaries.php index 17672b120..6819961ad 100755 --- a/Blacklight/Binaries.php +++ b/Blacklight/Binaries.php @@ -2,16 +2,16 @@ namespace Blacklight; -use App\Models\Settings; +use App\Models\BinaryBlacklist; use App\Models\Collection; use App\Models\MissedPart; +use App\Models\Settings; use App\Models\UsenetGroup; -use Illuminate\Support\Str; +use Illuminate\Database\QueryException; use Illuminate\Support\Carbon; -use App\Models\BinaryBlacklist; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; -use Illuminate\Database\QueryException; +use Illuminate\Support\Str; /** * Class Binaries. diff --git a/Blacklight/Books.php b/Blacklight/Books.php index 1dc8b767d..bebd48fe4 100755 --- a/Blacklight/Books.php +++ b/Blacklight/Books.php @@ -2,15 +2,15 @@ namespace Blacklight; -use App\Models\Release; use App\Models\BookInfo; use App\Models\Category; +use App\Models\Release; use App\Models\Settings; -use DariusIII\ItunesApi\iTunes; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Cache; use DariusIII\ItunesApi\Exceptions\EbookNotFoundException; use DariusIII\ItunesApi\Exceptions\SearchNoResultsException; +use DariusIII\ItunesApi\iTunes; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * Class Books. diff --git a/Blacklight/Console.php b/Blacklight/Console.php index 014180586..07a619e7e 100755 --- a/Blacklight/Console.php +++ b/Blacklight/Console.php @@ -2,16 +2,16 @@ namespace Blacklight; +use App\Models\Category; +use App\Models\ConsoleInfo; use App\Models\Genre; use App\Models\Release; -use App\Models\Category; use App\Models\Settings; -use App\Models\ConsoleInfo; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Cache; -use MarcReichel\IGDBLaravel\Models\Game; use GuzzleHttp\Exception\ClientException; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; use MarcReichel\IGDBLaravel\Models\Company; +use MarcReichel\IGDBLaravel\Models\Game; use MarcReichel\IGDBLaravel\Models\Platform; /** diff --git a/Blacklight/Contents.php b/Blacklight/Contents.php index 0715f352a..222a3a8c6 100755 --- a/Blacklight/Contents.php +++ b/Blacklight/Contents.php @@ -2,8 +2,8 @@ namespace Blacklight; -use App\Models\User; use App\Models\Content; +use App\Models\User; use Illuminate\Support\Arr; /** diff --git a/Blacklight/Games.php b/Blacklight/Games.php index a1561b024..7f8479598 100755 --- a/Blacklight/Games.php +++ b/Blacklight/Games.php @@ -2,19 +2,19 @@ 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\Facades\DB; -use Illuminate\Support\Facades\Cache; -use MarcReichel\IGDBLaravel\Models\Game; use GuzzleHttp\Exception\ClientException; +use Illuminate\Support\Carbon; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; use MarcReichel\IGDBLaravel\Models\Company; +use MarcReichel\IGDBLaravel\Models\Game; /** * Class Games. diff --git a/Blacklight/Genres.php b/Blacklight/Genres.php index 2926e5840..3459434d7 100755 --- a/Blacklight/Genres.php +++ b/Blacklight/Genres.php @@ -2,11 +2,11 @@ namespace Blacklight; -use App\Models\Genre; use App\Models\Category; +use App\Models\Genre; use Illuminate\Support\Arr; -use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * Class Genres. diff --git a/Blacklight/IRCScraper.php b/Blacklight/IRCScraper.php index e21be88af..a9493f4cf 100755 --- a/Blacklight/IRCScraper.php +++ b/Blacklight/IRCScraper.php @@ -4,9 +4,9 @@ namespace Blacklight; use App\Models\Predb; use App\Models\UsenetGroup; +use Elasticsearch\Common\Exceptions\BadRequest400Exception; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; -use Elasticsearch\Common\Exceptions\BadRequest400Exception; /** * Class IRCScraper. diff --git a/Blacklight/Movie.php b/Blacklight/Movie.php index febf8f555..56dc08148 100755 --- a/Blacklight/Movie.php +++ b/Blacklight/Movie.php @@ -2,28 +2,28 @@ namespace Blacklight; -use Imdb\Title; -use Imdb\Config; use aharen\OMDbAPI; -use Imdb\TitleSearch; -use GuzzleHttp\Client; -use App\Models\Release; use App\Models\Category; -use App\Models\Settings; use App\Models\MovieInfo; -use Illuminate\Support\Arr; -use Illuminate\Support\Carbon; -use Tmdb\Laravel\Facades\Tmdb; -use Blacklight\utility\Utility; -use DariusIII\ItunesApi\iTunes; +use App\Models\Release; +use App\Models\Settings; use Blacklight\libraries\FanartTV; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\File; -use Tmdb\Exception\TmdbApiException; use Blacklight\processing\tv\TraktTv; -use Illuminate\Support\Facades\Cache; +use Blacklight\utility\Utility; use DariusIII\ItunesApi\Exceptions\MovieNotFoundException; use DariusIII\ItunesApi\Exceptions\SearchNoResultsException; +use DariusIII\ItunesApi\iTunes; +use GuzzleHttp\Client; +use Illuminate\Support\Arr; +use Illuminate\Support\Carbon; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\File; +use Imdb\Config; +use Imdb\Title; +use Imdb\TitleSearch; +use Tmdb\Exception\TmdbApiException; +use Tmdb\Laravel\Facades\Tmdb; /** * Class Movie. diff --git a/Blacklight/Music.php b/Blacklight/Music.php index 4445f3a50..795ad5e4c 100755 --- a/Blacklight/Music.php +++ b/Blacklight/Music.php @@ -2,18 +2,18 @@ namespace Blacklight; -use App\Models\Genre; -use App\Models\Release; use App\Models\Category; -use App\Models\Settings; +use App\Models\Genre; use App\Models\MusicInfo; -use DariusIII\ItunesApi\iTunes; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Cache; +use App\Models\Release; +use App\Models\Settings; use DariusIII\ItunesApi\Exceptions\AlbumNotFoundException; -use DariusIII\ItunesApi\Exceptions\TrackNotFoundException; use DariusIII\ItunesApi\Exceptions\ArtistNotFoundException; use DariusIII\ItunesApi\Exceptions\SearchNoResultsException; +use DariusIII\ItunesApi\Exceptions\TrackNotFoundException; +use DariusIII\ItunesApi\iTunes; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * Class Music. diff --git a/Blacklight/NNTP.php b/Blacklight/NNTP.php index 8e09c7f64..584e2deaf 100755 --- a/Blacklight/NNTP.php +++ b/Blacklight/NNTP.php @@ -2,9 +2,9 @@ namespace Blacklight; +use App\Extensions\util\PhpYenc; use App\Models\Settings; use Blacklight\utility\Utility; -use App\Extensions\util\PhpYenc; /* * Class for connecting to the usenet, retrieving articles and article headers, diff --git a/Blacklight/NZB.php b/Blacklight/NZB.php index a67084878..2b44122e6 100755 --- a/Blacklight/NZB.php +++ b/Blacklight/NZB.php @@ -2,14 +2,14 @@ namespace Blacklight; -use App\Models\Part; use App\Models\Binary; +use App\Models\Collection; +use App\Models\Part; use App\Models\Release; use App\Models\Settings; -use App\Models\Collection; -use Illuminate\Support\Str; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; +use Illuminate\Support\Str; /** * Class for reading and writing NZB files on the hard disk, diff --git a/Blacklight/NZBContents.php b/Blacklight/NZBContents.php index e95b51f4c..137b17721 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\utility\Utility; use Blacklight\processing\PostProcess; +use Blacklight\utility\Utility; /** * Gets information contained within the NZB. diff --git a/Blacklight/NZBGet.php b/Blacklight/NZBGet.php index 05d74f6a7..4248a26bf 100755 --- a/Blacklight/NZBGet.php +++ b/Blacklight/NZBGet.php @@ -2,10 +2,10 @@ namespace Blacklight; -use GuzzleHttp\Client; use App\Models\Release; -use GuzzleHttp\Psr7\Request; use Blacklight\utility\Utility; +use GuzzleHttp\Client; +use GuzzleHttp\Psr7\Request; /** * Transfers data between an NZBGet server and a nntmux website. diff --git a/Blacklight/NZBVortex.php b/Blacklight/NZBVortex.php index 16d53f6d5..8798cd4bc 100755 --- a/Blacklight/NZBVortex.php +++ b/Blacklight/NZBVortex.php @@ -2,8 +2,8 @@ namespace Blacklight; -use Page; use App\Models\User; +use Page; /** * Class NZBVortex. diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index db8dedbcc..acad104af 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -2,14 +2,14 @@ namespace Blacklight; +use App\Models\Category; use App\Models\Predb; use App\Models\Release; -use App\Models\Category; use App\Models\UsenetGroup; -use Illuminate\Support\Arr; -use Blacklight\utility\Utility; use Blacklight\processing\PostProcess; +use Blacklight\utility\Utility; use Elasticsearch\Common\Exceptions\BadRequest400Exception; +use Illuminate\Support\Arr; /** * Class NameFixer. diff --git a/Blacklight/Nfo.php b/Blacklight/Nfo.php index bbefb7270..1fb58cffa 100755 --- a/Blacklight/Nfo.php +++ b/Blacklight/Nfo.php @@ -3,15 +3,15 @@ namespace Blacklight; use App\Models\Release; -use App\Models\Settings; use App\Models\ReleaseNfo; +use App\Models\Settings; use App\Models\UsenetGroup; -use dariusiii\rarinfo\SfvInfo; +use Blacklight\processing\PostProcess; use Blacklight\utility\Utility; use dariusiii\rarinfo\Par2Info; +use dariusiii\rarinfo\SfvInfo; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; -use Blacklight\processing\PostProcess; /** * Class Nfo. diff --git a/Blacklight/Regexes.php b/Blacklight/Regexes.php index 45ea03f97..287ad0267 100755 --- a/Blacklight/Regexes.php +++ b/Blacklight/Regexes.php @@ -2,13 +2,13 @@ namespace Blacklight; -use App\Models\Release; use App\Models\Category; -use App\Models\UsenetGroup; -use Illuminate\Support\Arr; use App\Models\CategoryRegex; use App\Models\CollectionRegex; +use App\Models\Release; use App\Models\ReleaseNamingRegex; +use App\Models\UsenetGroup; +use Illuminate\Support\Arr; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/ReleaseExtra.php b/Blacklight/ReleaseExtra.php index 069b9e818..15e4eb13e 100755 --- a/Blacklight/ReleaseExtra.php +++ b/Blacklight/ReleaseExtra.php @@ -3,10 +3,10 @@ namespace Blacklight; use App\Models\AudioData; -use App\Models\VideoData; -use App\Models\ReleaseUnique; -use App\Models\ReleaseSubtitle; use App\Models\ReleaseExtraFull; +use App\Models\ReleaseSubtitle; +use App\Models\ReleaseUnique; +use App\Models\VideoData; use Illuminate\Support\Facades\DB; use Mhor\MediaInfo\Container\MediaInfoContainer; diff --git a/Blacklight/ReleaseImage.php b/Blacklight/ReleaseImage.php index 2e5d6f081..7be1f565a 100755 --- a/Blacklight/ReleaseImage.php +++ b/Blacklight/ReleaseImage.php @@ -3,11 +3,11 @@ namespace Blacklight; use Illuminate\Support\Facades\File; -use Intervention\Image\Facades\Image; 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 62192c665..63604ea6a 100644 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -2,15 +2,15 @@ namespace Blacklight; -use App\Models\Release; use App\Models\Category; +use App\Models\Release; use App\Models\Settings; use App\Models\UsenetGroup; +use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Arr; +use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; -use Illuminate\Support\Facades\Cache; -use Illuminate\Database\Eloquent\Collection; /** * Class Releases. diff --git a/Blacklight/SABnzbd.php b/Blacklight/SABnzbd.php index dc2a7e5eb..c1562c6d3 100755 --- a/Blacklight/SABnzbd.php +++ b/Blacklight/SABnzbd.php @@ -2,8 +2,8 @@ namespace Blacklight; -use GuzzleHttp\Client; use App\Models\Settings; +use GuzzleHttp\Client; /** * Class SABnzbd. diff --git a/Blacklight/SphinxSearch.php b/Blacklight/SphinxSearch.php index e045f1006..9dd1e0efd 100755 --- a/Blacklight/SphinxSearch.php +++ b/Blacklight/SphinxSearch.php @@ -4,12 +4,12 @@ namespace Blacklight; use App\Models\Predb; use App\Models\Release; -use Foolz\SphinxQL\Helper; -use Foolz\SphinxQL\SphinxQL; -use Illuminate\Support\Facades\DB; use Foolz\SphinxQL\Drivers\Pdo\Connection; use Foolz\SphinxQL\Exception\DatabaseException; use Foolz\SphinxQL\Exception\SphinxQLException; +use Foolz\SphinxQL\Helper; +use Foolz\SphinxQL\SphinxQL; +use Illuminate\Support\Facades\DB; /** * Class SphinxSearch. diff --git a/Blacklight/XXX.php b/Blacklight/XXX.php index 6bdbec6a2..19e854f26 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\XxxInfo; -use App\Models\Category; use App\Models\Settings; -use Illuminate\Support\Facades\DB; +use App\Models\XxxInfo; use Blacklight\processing\adult\ADE; use Blacklight\processing\adult\ADM; use Blacklight\processing\adult\AEBN; -use Illuminate\Support\Facades\Cache; -use Blacklight\processing\adult\Popporn; use Blacklight\processing\adult\Hotmovies; +use Blacklight\processing\adult\Popporn; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * Class XXX. diff --git a/Blacklight/db/populate/AniDB.php b/Blacklight/db/populate/AniDB.php index 050b61d02..7863bd693 100755 --- a/Blacklight/db/populate/AniDB.php +++ b/Blacklight/db/populate/AniDB.php @@ -2,11 +2,11 @@ namespace Blacklight\db\populate; -use App\Models\Settings; -use Blacklight\ColorCLI; +use App\Models\AnidbEpisode; use App\Models\AnidbInfo; use App\Models\AnidbTitle; -use App\Models\AnidbEpisode; +use App\Models\Settings; +use Blacklight\ColorCLI; use Blacklight\ReleaseImage; use Illuminate\Support\Carbon; diff --git a/Blacklight/http/API.php b/Blacklight/http/API.php index 10ba211d2..bb24a65d7 100755 --- a/Blacklight/http/API.php +++ b/Blacklight/http/API.php @@ -21,8 +21,8 @@ namespace Blacklight\http; -use App\Models\Category; use App\Models\AudioData; +use App\Models\Category; use App\Models\UsenetGroup; use Blacklight\utility\Utility; diff --git a/Blacklight/http/RSS.php b/Blacklight/http/RSS.php index 0dce28e11..2530c82ef 100755 --- a/Blacklight/http/RSS.php +++ b/Blacklight/http/RSS.php @@ -2,14 +2,14 @@ namespace Blacklight\http; -use Blacklight\NZB; -use App\Models\Release; use App\Models\Category; -use Blacklight\Releases; +use App\Models\Release; use App\Models\UserMovie; use App\Models\UserSerie; -use Illuminate\Support\Facades\DB; +use Blacklight\NZB; +use Blacklight\Releases; use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * Class RSS -- contains specific functions for RSS. diff --git a/Blacklight/http/XML_Response.php b/Blacklight/http/XML_Response.php index 67b4397f1..1f339d9ac 100755 --- a/Blacklight/http/XML_Response.php +++ b/Blacklight/http/XML_Response.php @@ -21,8 +21,8 @@ namespace Blacklight\http; -use App\Models\Release; use App\Models\Category; +use App\Models\Release; use Illuminate\Support\Carbon; /** diff --git a/Blacklight/libraries/Forking.php b/Blacklight/libraries/Forking.php index 03cf2e339..16cbec8e8 100755 --- a/Blacklight/libraries/Forking.php +++ b/Blacklight/libraries/Forking.php @@ -2,18 +2,18 @@ namespace Blacklight\libraries; -use Blacklight\Nfo; -use Blacklight\NZB; -use Blacklight\NNTP; -use Spatie\Async\Pool; use App\Models\Settings; -use Blacklight\ColorCLI; use App\Models\UsenetGroup; +use Blacklight\ColorCLI; +use Blacklight\Nfo; +use Blacklight\NNTP; +use Blacklight\NZB; +use Blacklight\processing\PostProcess; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Opis\Closure\SerializableClosure; -use Blacklight\processing\PostProcess; +use Spatie\Async\Pool; /** * Class Forking. diff --git a/Blacklight/libraries/TraktAPI.php b/Blacklight/libraries/TraktAPI.php index 1e6b8502e..1b5232946 100755 --- a/Blacklight/libraries/TraktAPI.php +++ b/Blacklight/libraries/TraktAPI.php @@ -3,8 +3,8 @@ namespace Blacklight\libraries; use GuzzleHttp\Client; -use Illuminate\Support\Str; use GuzzleHttp\Exception\RequestException; +use Illuminate\Support\Str; /** * Class TraktAPI diff --git a/Blacklight/processing/PostProcess.php b/Blacklight/processing/PostProcess.php index 3a1980693..ac04c22c8 100755 --- a/Blacklight/processing/PostProcess.php +++ b/Blacklight/processing/PostProcess.php @@ -2,29 +2,29 @@ namespace Blacklight\processing; -use Blacklight\Nfo; -use Blacklight\XXX; -use Blacklight\NNTP; +use App\Models\Category; +use App\Models\Release; +use App\Models\ReleaseFile; +use App\Models\Settings; +use App\Models\UsenetGroup; 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 App\Models\ReleaseFile; -use App\Models\UsenetGroup; -use Illuminate\Support\Carbon; -use dariusiii\rarinfo\Par2Info; +use Blacklight\Nfo; +use Blacklight\NNTP; +use Blacklight\processing\post\AniDB; +use Blacklight\processing\post\ProcessAdditional; use Blacklight\processing\tv\TMDB; +use Blacklight\processing\tv\TraktTv; use Blacklight\processing\tv\TVDB; use Blacklight\processing\tv\TVMaze; -use Blacklight\processing\post\AniDB; -use Blacklight\processing\tv\TraktTv; -use Blacklight\processing\post\ProcessAdditional; +use Blacklight\Sharing; +use Blacklight\XXX; +use dariusiii\rarinfo\Par2Info; +use Illuminate\Support\Carbon; class PostProcess { diff --git a/Blacklight/processing/ProcessReleases.php b/Blacklight/processing/ProcessReleases.php index fb974b3a1..ad453bc2f 100755 --- a/Blacklight/processing/ProcessReleases.php +++ b/Blacklight/processing/ProcessReleases.php @@ -2,27 +2,27 @@ namespace Blacklight\processing; -use Blacklight\NZB; -use Blacklight\NNTP; -use App\Models\Predb; -use Blacklight\Genres; -use App\Models\Release; use App\Models\Category; -use App\Models\Settings; -use Blacklight\Releases; -use App\Models\MusicInfo; use App\Models\Collection; -use Blacklight\Categorize; -use App\Models\UsenetGroup; -use Illuminate\Support\Str; +use App\Models\MusicInfo; +use App\Models\Predb; +use App\Models\Release; use App\Models\ReleaseRegex; -use Blacklight\ConsoleTools; -use Blacklight\ReleaseImage; use App\Models\ReleasesGroups; -use Illuminate\Support\Carbon; +use App\Models\Settings; +use App\Models\UsenetGroup; +use Blacklight\Categorize; +use Blacklight\ConsoleTools; +use Blacklight\Genres; +use Blacklight\NNTP; +use Blacklight\NZB; use Blacklight\ReleaseCleaning; +use Blacklight\ReleaseImage; +use Blacklight\Releases; +use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; +use Illuminate\Support\Str; class ProcessReleases { diff --git a/Blacklight/processing/Videos.php b/Blacklight/processing/Videos.php index 019c096d8..b9f734376 100755 --- a/Blacklight/processing/Videos.php +++ b/Blacklight/processing/Videos.php @@ -21,11 +21,11 @@ namespace Blacklight\processing; -use App\Models\Video; use App\Models\TvInfo; +use App\Models\Video; use App\Models\VideoAlias; -use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\DB; /** * 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 16b909baa..e5d7dcc13 100755 --- a/Blacklight/processing/post/AniDB.php +++ b/Blacklight/processing/post/AniDB.php @@ -2,13 +2,13 @@ namespace Blacklight\processing\post; -use Blacklight\NZB; +use App\Models\AnidbEpisode; use App\Models\Category; use App\Models\Settings; use Blacklight\ColorCLI; -use App\Models\AnidbEpisode; -use Illuminate\Support\Facades\DB; use Blacklight\db\populate\AniDB as PaDb; +use Blacklight\NZB; +use Illuminate\Support\Facades\DB; class AniDB { diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 12ef2d213..16d4e0db1 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -2,36 +2,36 @@ namespace Blacklight\processing\post; -use FFMpeg\FFMpeg; -use Blacklight\Nfo; -use Blacklight\NZB; -use FFMpeg\FFProbe; -use Blacklight\NNTP; -use App\Models\Release; use App\Models\Category; -use App\Models\Settings; -use Blacklight\ColorCLI; -use Blacklight\Releases; -use Blacklight\NameFixer; -use Blacklight\Categorize; +use App\Models\Release; use App\Models\ReleaseFile; +use App\Models\Settings; use App\Models\UsenetGroup; +use Blacklight\Categorize; +use Blacklight\ColorCLI; +use Blacklight\NameFixer; +use Blacklight\Nfo; +use Blacklight\NNTP; +use Blacklight\NZB; use Blacklight\ReleaseExtra; use Blacklight\ReleaseImage; +use Blacklight\Releases; use Blacklight\SphinxSearch; -use FFMpeg\Format\Video\Ogg; -use Mhor\MediaInfo\MediaInfo; -use Illuminate\Support\Carbon; use Blacklight\utility\Utility; -use dariusiii\rarinfo\Par2Info; -use FFMpeg\Coordinate\TimeCode; -use FFMpeg\Format\Audio\Vorbis; -use FFMpeg\Coordinate\Dimension; use dariusiii\rarinfo\ArchiveInfo; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Log; -use Illuminate\Support\Facades\File; +use dariusiii\rarinfo\Par2Info; +use FFMpeg\Coordinate\Dimension; +use FFMpeg\Coordinate\TimeCode; +use FFMpeg\FFMpeg; +use FFMpeg\FFProbe; use FFMpeg\Filters\Video\ResizeFilter; +use FFMpeg\Format\Audio\Vorbis; +use FFMpeg\Format\Video\Ogg; +use Illuminate\Support\Carbon; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\File; +use Illuminate\Support\Facades\Log; +use Mhor\MediaInfo\MediaInfo; class ProcessAdditional { diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index 7efb0a98d..03e716738 100755 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -2,11 +2,11 @@ namespace Blacklight\processing\tv; -use Tmdb\Client; -use Tmdb\ApiToken; use Blacklight\ReleaseImage; -use Tmdb\Helper\ImageHelper; +use Tmdb\ApiToken; +use Tmdb\Client; use Tmdb\Exception\TmdbApiException; +use Tmdb\Helper\ImageHelper; use Tmdb\Laravel\Facades\Tmdb as TmdbClient; use Tmdb\Repository\ConfigurationRepository; diff --git a/Blacklight/processing/tv/TV.php b/Blacklight/processing/tv/TV.php index 0d8c4dd3b..0a1d72c8e 100755 --- a/Blacklight/processing/tv/TV.php +++ b/Blacklight/processing/tv/TV.php @@ -2,15 +2,15 @@ namespace Blacklight\processing\tv; -use App\Models\Video; -use App\Models\TvInfo; -use App\Models\Release; use App\Models\Category; +use App\Models\Release; use App\Models\Settings; -use Blacklight\ColorCLI; use App\Models\TvEpisode; -use Blacklight\utility\Country; +use App\Models\TvInfo; +use App\Models\Video; +use Blacklight\ColorCLI; use Blacklight\processing\Videos; +use Blacklight\utility\Country; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/processing/tv/TVDB.php b/Blacklight/processing/tv/TVDB.php index ae4f829e0..ef3d5731a 100755 --- a/Blacklight/processing/tv/TVDB.php +++ b/Blacklight/processing/tv/TVDB.php @@ -3,9 +3,9 @@ namespace Blacklight\processing\tv; use Blacklight\ReleaseImage; -use CanIHaveSomeCoffee\TheTVDbAPI\TheTVDbAPI; -use CanIHaveSomeCoffee\TheTVDbAPI\Exception\UnauthorizedException; use CanIHaveSomeCoffee\TheTVDbAPI\Exception\ResourceNotFoundException; +use CanIHaveSomeCoffee\TheTVDbAPI\Exception\UnauthorizedException; +use CanIHaveSomeCoffee\TheTVDbAPI\TheTVDbAPI; /** * 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 a4987e37e..4e6db1e03 100755 --- a/Blacklight/processing/tv/TraktTv.php +++ b/Blacklight/processing/tv/TraktTv.php @@ -3,9 +3,9 @@ namespace Blacklight\processing\tv; use App\Models\Settings; +use Blacklight\libraries\TraktAPI; use Blacklight\ReleaseImage; use Blacklight\utility\Time; -use Blacklight\libraries\TraktAPI; /** * Class TraktTv. diff --git a/Blacklight/utility/Utility.php b/Blacklight/utility/Utility.php index 16e4ac24d..0ed7016f9 100755 --- a/Blacklight/utility/Utility.php +++ b/Blacklight/utility/Utility.php @@ -3,10 +3,10 @@ namespace Blacklight\utility; use App\Models\Settings; -use Illuminate\Support\Str; +use Illuminate\Contracts\Pagination\LengthAwarePaginator; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; -use Illuminate\Contracts\Pagination\LengthAwarePaginator; +use Illuminate\Support\Str; /** * Class Utility. diff --git a/app/Console/Commands/FixturesDown.php b/app/Console/Commands/FixturesDown.php index 067404463..fc301455f 100644 --- a/app/Console/Commands/FixturesDown.php +++ b/app/Console/Commands/FixturesDown.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Illuminate\Console\Command; use DariusIII\L5Fixtures\FixturesFacade; +use Illuminate\Console\Command; class FixturesDown extends Command { diff --git a/app/Console/Commands/FixturesUp.php b/app/Console/Commands/FixturesUp.php index a8dbe2f91..a795c437b 100644 --- a/app/Console/Commands/FixturesUp.php +++ b/app/Console/Commands/FixturesUp.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Illuminate\Console\Command; use DariusIII\L5Fixtures\FixturesFacade; +use Illuminate\Console\Command; class FixturesUp extends Command { diff --git a/app/Console/Commands/InstallNntmux.php b/app/Console/Commands/InstallNntmux.php index 91a27f618..e1edf711c 100644 --- a/app/Console/Commands/InstallNntmux.php +++ b/app/Console/Commands/InstallNntmux.php @@ -2,11 +2,11 @@ namespace App\Console\Commands; -use App\Models\User; use App\Models\Settings; -use Illuminate\Support\Str; +use App\Models\User; use Illuminate\Console\Command; use Illuminate\Support\Facades\File; +use Illuminate\Support\Str; use Symfony\Component\Process\Process; class InstallNntmux extends Command diff --git a/app/Console/Commands/NntmuxResetPostProcessing.php b/app/Console/Commands/NntmuxResetPostProcessing.php index 850d497d0..27a273c27 100644 --- a/app/Console/Commands/NntmuxResetPostProcessing.php +++ b/app/Console/Commands/NntmuxResetPostProcessing.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use App\Models\Release; use App\Models\Category; +use App\Models\Release; use Blacklight\ColorCLI; use Blacklight\ConsoleTools; use Illuminate\Console\Command; diff --git a/app/Console/Commands/TmuxUIStart.php b/app/Console/Commands/TmuxUIStart.php index e421200ca..1a39eeacb 100644 --- a/app/Console/Commands/TmuxUIStart.php +++ b/app/Console/Commands/TmuxUIStart.php @@ -2,9 +2,9 @@ namespace App\Console\Commands; -use Blacklight\Tmux; use App\Models\Settings; use Blacklight\ColorCLI; +use Blacklight\Tmux; use Illuminate\Console\Command; class TmuxUIStart extends Command diff --git a/app/Console/Commands/TmuxUIStop.php b/app/Console/Commands/TmuxUIStop.php index c9aead1f4..c26db52b1 100644 --- a/app/Console/Commands/TmuxUIStop.php +++ b/app/Console/Commands/TmuxUIStop.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Blacklight\Tmux; use App\Models\Settings; +use Blacklight\Tmux; use Illuminate\Console\Command; use Symfony\Component\Process\Process; diff --git a/app/Console/Commands/UpdateNNTmux.php b/app/Console/Commands/UpdateNNTmux.php index 1732d1ca2..237ed4eac 100644 --- a/app/Console/Commands/UpdateNNTmux.php +++ b/app/Console/Commands/UpdateNNTmux.php @@ -4,8 +4,8 @@ namespace App\Console\Commands; use Blacklight\Tmux; use Illuminate\Console\Command; -use Ytake\LaravelSmarty\Smarty; use Illuminate\Support\Facades\App; +use Ytake\LaravelSmarty\Smarty; class UpdateNNTmux extends Command { diff --git a/app/Console/Commands/UpdateNNTmuxGit.php b/app/Console/Commands/UpdateNNTmuxGit.php index 510c6b648..371a3a9d8 100644 --- a/app/Console/Commands/UpdateNNTmuxGit.php +++ b/app/Console/Commands/UpdateNNTmuxGit.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Blacklight\Tmux; use App\Extensions\util\Git; +use Blacklight\Tmux; use Illuminate\Console\Command; class UpdateNNTmuxGit extends Command diff --git a/app/Events/UserAccessedApi.php b/app/Events/UserAccessedApi.php index 26923542e..db930770e 100644 --- a/app/Events/UserAccessedApi.php +++ b/app/Events/UserAccessedApi.php @@ -2,9 +2,9 @@ namespace App\Events; -use Illuminate\Queue\SerializesModels; -use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; +use Illuminate\Foundation\Events\Dispatchable; +use Illuminate\Queue\SerializesModels; class UserAccessedApi { diff --git a/app/Events/UserLoggedIn.php b/app/Events/UserLoggedIn.php index b89344f0d..520cd8eda 100644 --- a/app/Events/UserLoggedIn.php +++ b/app/Events/UserLoggedIn.php @@ -2,9 +2,9 @@ namespace App\Events; -use Illuminate\Queue\SerializesModels; -use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; +use Illuminate\Foundation\Events\Dispatchable; +use Illuminate\Queue\SerializesModels; class UserLoggedIn { diff --git a/app/Extensions/helper/helpers.php b/app/Extensions/helper/helpers.php index aa9a946a0..b6af3b89d 100644 --- a/app/Extensions/helper/helpers.php +++ b/app/Extensions/helper/helpers.php @@ -1,18 +1,18 @@ getPdo(); diff --git a/misc/testing/PostProc/getGameCovers.php b/misc/testing/PostProc/getGameCovers.php index 4588c0f8e..27d2b37ef 100644 --- a/misc/testing/PostProc/getGameCovers.php +++ b/misc/testing/PostProc/getGameCovers.php @@ -4,8 +4,8 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Games; use Blacklight\ColorCLI; +use Blacklight\Games; $pdo = DB::connection()->getPdo(); $game = new Games(['Echo' => true]); diff --git a/misc/testing/PostProc/getImdb.php b/misc/testing/PostProc/getImdb.php index 45cb4bde6..1cffa5109 100644 --- a/misc/testing/PostProc/getImdb.php +++ b/misc/testing/PostProc/getImdb.php @@ -3,8 +3,8 @@ //This script will update all records in the movieinfo table require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Movie; use Blacklight\ColorCLI; +use Blacklight\Movie; use Illuminate\Support\Facades\DB; $pdo = DB::connection()->getPdo(); diff --git a/misc/testing/PostProc/getMovieCovers.php b/misc/testing/PostProc/getMovieCovers.php index 3cdba1711..a0fca34ca 100644 --- a/misc/testing/PostProc/getMovieCovers.php +++ b/misc/testing/PostProc/getMovieCovers.php @@ -3,9 +3,9 @@ //This script will update all records in the movieinfo table where there is no cover require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Movie; -use Blacklight\ColorCLI; use App\Models\MovieInfo; +use Blacklight\ColorCLI; +use Blacklight\Movie; $movie = new Movie(['Echo' => true]); $colorCli = new ColorCLI(); diff --git a/misc/testing/PostProc/getTraktData.php b/misc/testing/PostProc/getTraktData.php index 2296033eb..c71a62b5f 100644 --- a/misc/testing/PostProc/getTraktData.php +++ b/misc/testing/PostProc/getTraktData.php @@ -3,9 +3,9 @@ //This script will update all records in the movieinfo table where there is no cover require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Movie; -use Blacklight\ColorCLI; use App\Models\MovieInfo; +use Blacklight\ColorCLI; +use Blacklight\Movie; use Blacklight\processing\tv\TraktTv; $movie = new Movie(['Echo' => true]); diff --git a/misc/testing/PostProc/getXXXCovers.php b/misc/testing/PostProc/getXXXCovers.php index d8f5244ec..8c0d1d343 100644 --- a/misc/testing/PostProc/getXXXCovers.php +++ b/misc/testing/PostProc/getXXXCovers.php @@ -3,8 +3,8 @@ //This script will update all records in the xxxinfo table where there is no cover require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\XXX; use Blacklight\ColorCLI; +use Blacklight\XXX; $movie = new XXX(); $c = new ColorCLI(); diff --git a/misc/testing/PostProc/updateConsoleImages.php b/misc/testing/PostProc/updateConsoleImages.php index 22a6aee5b..e48d602e5 100644 --- a/misc/testing/PostProc/updateConsoleImages.php +++ b/misc/testing/PostProc/updateConsoleImages.php @@ -2,8 +2,8 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\ColorCLI; use App\Models\ConsoleInfo; +use Blacklight\ColorCLI; use Illuminate\Support\Facades\File; $covers = $updated = $deleted = 0; diff --git a/misc/testing/PostProc/updateGamesImages.php b/misc/testing/PostProc/updateGamesImages.php index 99421dda2..17d6d278b 100644 --- a/misc/testing/PostProc/updateGamesImages.php +++ b/misc/testing/PostProc/updateGamesImages.php @@ -2,9 +2,9 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; +use App\Models\GamesInfo; use App\Models\Settings; use Blacklight\ColorCLI; -use App\Models\GamesInfo; use Blacklight\utility\Utility; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; diff --git a/misc/testing/PostProc/updateMovieImages.php b/misc/testing/PostProc/updateMovieImages.php index 0cce5d47b..94b6fea0f 100644 --- a/misc/testing/PostProc/updateMovieImages.php +++ b/misc/testing/PostProc/updateMovieImages.php @@ -2,9 +2,9 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; +use App\Models\MovieInfo; use App\Models\Settings; use Blacklight\ColorCLI; -use App\Models\MovieInfo; use Blacklight\utility\Utility; use Illuminate\Support\Facades\File; diff --git a/misc/testing/PostProc/updateMusicImages.php b/misc/testing/PostProc/updateMusicImages.php index f7bb3c216..15dafd306 100644 --- a/misc/testing/PostProc/updateMusicImages.php +++ b/misc/testing/PostProc/updateMusicImages.php @@ -2,8 +2,8 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\ColorCLI; use App\Models\MusicInfo; +use Blacklight\ColorCLI; use Illuminate\Support\Facades\File; $covers = $updated = $deleted = 0; diff --git a/misc/testing/Releases/fixReleaseNames.php b/misc/testing/Releases/fixReleaseNames.php index 22277705b..3612752de 100755 --- a/misc/testing/Releases/fixReleaseNames.php +++ b/misc/testing/Releases/fixReleaseNames.php @@ -9,10 +9,10 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\NNTP; use App\Models\Settings; use Blacklight\ColorCLI; use Blacklight\NameFixer; +use Blacklight\NNTP; $namefixer = new NameFixer(); $colorCli = new ColorCLI(); diff --git a/misc/testing/Releases/recategorize.php b/misc/testing/Releases/recategorize.php index 91c44def0..fb23723ba 100644 --- a/misc/testing/Releases/recategorize.php +++ b/misc/testing/Releases/recategorize.php @@ -2,10 +2,10 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use App\Models\Release; use App\Models\Category; -use Blacklight\ColorCLI; +use App\Models\Release; use Blacklight\Categorize; +use Blacklight\ColorCLI; use Blacklight\ConsoleTools; use Illuminate\Support\Facades\DB; diff --git a/misc/testing/Tests/test_tvdb_API.php b/misc/testing/Tests/test_tvdb_API.php index 2236b5539..9865d1bf2 100755 --- a/misc/testing/Tests/test_tvdb_API.php +++ b/misc/testing/Tests/test_tvdb_API.php @@ -2,11 +2,11 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\processing\tv\TVDB; -use Adrenth\Thetvdb\Exception\UnauthorizedException; -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\processing\tv\TVDB; $c = new Blacklight\ColorCLI(); $tvdb = new TVDB(); diff --git a/misc/update/backfill.php b/misc/update/backfill.php index 4951b78e8..a73777a69 100644 --- a/misc/update/backfill.php +++ b/misc/update/backfill.php @@ -2,8 +2,8 @@ require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\NNTP; use Blacklight\Backfill; +use Blacklight\NNTP; // Create the connection here and pass $nntp = new NNTP(); diff --git a/misc/update/postprocess.php b/misc/update/postprocess.php index 5e7398116..1384693d1 100644 --- a/misc/update/postprocess.php +++ b/misc/update/postprocess.php @@ -2,8 +2,8 @@ require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\NNTP; use App\Models\Settings; +use Blacklight\NNTP; use Blacklight\processing\PostProcess; /** diff --git a/misc/update/tmux/bin/groupfixrelnames.php b/misc/update/tmux/bin/groupfixrelnames.php index 45aadbb77..b0cc5140b 100644 --- a/misc/update/tmux/bin/groupfixrelnames.php +++ b/misc/update/tmux/bin/groupfixrelnames.php @@ -2,18 +2,18 @@ require_once dirname(__DIR__, 4).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Nfo; -use Blacklight\NZB; -use Blacklight\NNTP; +use App\Models\Category; use App\Models\Predb; use App\Models\Release; -use App\Models\Category; use App\Models\Settings; use Blacklight\ColorCLI; use Blacklight\NameFixer; +use Blacklight\Nfo; +use Blacklight\NNTP; +use Blacklight\NZB; use Blacklight\NZBContents; -use Illuminate\Support\Facades\DB; use Blacklight\processing\PostProcess; +use Illuminate\Support\Facades\DB; $colorCli = new ColorCLI(); if (! isset($argv[1])) { diff --git a/misc/update/tmux/bin/update_groups.php b/misc/update/tmux/bin/update_groups.php index 911537d76..4e2578aa1 100644 --- a/misc/update/tmux/bin/update_groups.php +++ b/misc/update/tmux/bin/update_groups.php @@ -2,12 +2,12 @@ require_once dirname(__DIR__, 4).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\NNTP; -use Blacklight\ColorCLI; use App\Models\ShortGroup; use App\Models\UsenetGroup; -use Illuminate\Support\Arr; +use Blacklight\ColorCLI; use Blacklight\ConsoleTools; +use Blacklight\NNTP; +use Illuminate\Support\Arr; use Illuminate\Support\Facades\DB; $start = now(); diff --git a/misc/update/tmux/monitor.php b/misc/update/tmux/monitor.php index cc3f8d7dc..9dded8ab7 100644 --- a/misc/update/tmux/monitor.php +++ b/misc/update/tmux/monitor.php @@ -2,13 +2,13 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\Tmux; -use App\Models\Release; -use Blacklight\TmuxRun; use App\Models\Category; +use App\Models\Release; use App\Models\Settings; use Blacklight\ColorCLI; +use Blacklight\Tmux; use Blacklight\TmuxOutput; +use Blacklight\TmuxRun; use Illuminate\Support\Arr; use Illuminate\Support\Facades\DB; diff --git a/misc/update/tmux/run.php b/misc/update/tmux/run.php index 0be76fc99..759371f27 100644 --- a/misc/update/tmux/run.php +++ b/misc/update/tmux/run.php @@ -2,9 +2,9 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; +use App\Models\Collection; use App\Models\Settings; use Blacklight\ColorCLI; -use App\Models\Collection; use Blacklight\utility\Utility; $DIR = NN_TMUX; diff --git a/misc/update/update_binaries.php b/misc/update/update_binaries.php index d4b04c21e..9ea44514f 100644 --- a/misc/update/update_binaries.php +++ b/misc/update/update_binaries.php @@ -2,11 +2,11 @@ require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; -use Blacklight\NNTP; use App\Models\Settings; +use App\Models\UsenetGroup; use Blacklight\Binaries; use Blacklight\ColorCLI; -use App\Models\UsenetGroup; +use Blacklight\NNTP; $maxHeaders = (int) Settings::settingValue('..max_headers_iteration') ?: 1000000; $colorCli = new ColorCLI();