diff --git a/Blacklight/AniDB.php b/Blacklight/AniDB.php index 6d4c42237..67227b77c 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; /** diff --git a/Blacklight/Binaries.php b/Blacklight/Binaries.php index 6819961ad..17672b120 100755 --- a/Blacklight/Binaries.php +++ b/Blacklight/Binaries.php @@ -2,16 +2,16 @@ namespace Blacklight; -use App\Models\BinaryBlacklist; +use App\Models\Settings; use App\Models\Collection; use App\Models\MissedPart; -use App\Models\Settings; use App\Models\UsenetGroup; -use Illuminate\Database\QueryException; +use Illuminate\Support\Str; use Illuminate\Support\Carbon; +use App\Models\BinaryBlacklist; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; -use Illuminate\Support\Str; +use Illuminate\Database\QueryException; /** * Class Binaries. diff --git a/Blacklight/Books.php b/Blacklight/Books.php index bebd48fe4..1dc8b767d 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 07a619e7e..014180586 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 GuzzleHttp\Exception\ClientException; -use Illuminate\Support\Facades\Cache; +use App\Models\ConsoleInfo; use Illuminate\Support\Facades\DB; -use MarcReichel\IGDBLaravel\Models\Company; +use Illuminate\Support\Facades\Cache; use MarcReichel\IGDBLaravel\Models\Game; +use GuzzleHttp\Exception\ClientException; +use MarcReichel\IGDBLaravel\Models\Company; use MarcReichel\IGDBLaravel\Models\Platform; /** diff --git a/Blacklight/Contents.php b/Blacklight/Contents.php index 222a3a8c6..0715f352a 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; use Illuminate\Support\Arr; /** diff --git a/Blacklight/Games.php b/Blacklight/Games.php index 7f8479598..a1561b024 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 GuzzleHttp\Exception\ClientException; -use Illuminate\Support\Carbon; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; -use MarcReichel\IGDBLaravel\Models\Company; +use Illuminate\Support\Facades\Cache; use MarcReichel\IGDBLaravel\Models\Game; +use GuzzleHttp\Exception\ClientException; +use MarcReichel\IGDBLaravel\Models\Company; /** * Class Games. diff --git a/Blacklight/Genres.php b/Blacklight/Genres.php index 3459434d7..2926e5840 100755 --- a/Blacklight/Genres.php +++ b/Blacklight/Genres.php @@ -2,11 +2,11 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Genre; +use App\Models\Category; use Illuminate\Support\Arr; -use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; /** * Class Genres. diff --git a/Blacklight/IRCScraper.php b/Blacklight/IRCScraper.php index a9493f4cf..e21be88af 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 56dc08148..febf8f555 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 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 DariusIII\ItunesApi\Exceptions\MovieNotFoundException; -use DariusIII\ItunesApi\Exceptions\SearchNoResultsException; -use DariusIII\ItunesApi\iTunes; +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 Illuminate\Support\Facades\Cache; +use Tmdb\Laravel\Facades\Tmdb; +use Blacklight\utility\Utility; +use DariusIII\ItunesApi\iTunes; +use Blacklight\libraries\FanartTV; 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; +use Blacklight\processing\tv\TraktTv; +use Illuminate\Support\Facades\Cache; +use DariusIII\ItunesApi\Exceptions\MovieNotFoundException; +use DariusIII\ItunesApi\Exceptions\SearchNoResultsException; /** * Class Movie. diff --git a/Blacklight/Music.php b/Blacklight/Music.php index 795ad5e4c..4445f3a50 100755 --- a/Blacklight/Music.php +++ b/Blacklight/Music.php @@ -2,18 +2,18 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Genre; -use App\Models\MusicInfo; use App\Models\Release; +use App\Models\Category; use App\Models\Settings; +use App\Models\MusicInfo; +use DariusIII\ItunesApi\iTunes; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Cache; 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 584e2deaf..8e09c7f64 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 2b44122e6..a67084878 100755 --- a/Blacklight/NZB.php +++ b/Blacklight/NZB.php @@ -2,14 +2,14 @@ namespace Blacklight; -use App\Models\Binary; -use App\Models\Collection; use App\Models\Part; +use App\Models\Binary; 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 137b17721..e95b51f4c 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 4248a26bf..05d74f6a7 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; /** * Transfers data between an NZBGet server and a nntmux website. diff --git a/Blacklight/NZBVortex.php b/Blacklight/NZBVortex.php index 8798cd4bc..16d53f6d5 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; /** * Class NZBVortex. diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index acad104af..db8dedbcc 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 Blacklight\processing\PostProcess; -use Blacklight\utility\Utility; -use Elasticsearch\Common\Exceptions\BadRequest400Exception; use Illuminate\Support\Arr; +use Blacklight\utility\Utility; +use Blacklight\processing\PostProcess; +use Elasticsearch\Common\Exceptions\BadRequest400Exception; /** * Class NameFixer. diff --git a/Blacklight/Nfo.php b/Blacklight/Nfo.php index 1fb58cffa..bbefb7270 100755 --- a/Blacklight/Nfo.php +++ b/Blacklight/Nfo.php @@ -3,15 +3,15 @@ namespace Blacklight; use App\Models\Release; -use App\Models\ReleaseNfo; use App\Models\Settings; +use App\Models\ReleaseNfo; use App\Models\UsenetGroup; -use Blacklight\processing\PostProcess; +use dariusiii\rarinfo\SfvInfo; 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 287ad0267..45ea03f97 100755 --- a/Blacklight/Regexes.php +++ b/Blacklight/Regexes.php @@ -2,13 +2,13 @@ namespace Blacklight; -use App\Models\Category; -use App\Models\CategoryRegex; -use App\Models\CollectionRegex; use App\Models\Release; -use App\Models\ReleaseNamingRegex; +use App\Models\Category; use App\Models\UsenetGroup; use Illuminate\Support\Arr; +use App\Models\CategoryRegex; +use App\Models\CollectionRegex; +use App\Models\ReleaseNamingRegex; use Illuminate\Support\Facades\DB; /** diff --git a/Blacklight/ReleaseExtra.php b/Blacklight/ReleaseExtra.php index 15e4eb13e..069b9e818 100755 --- a/Blacklight/ReleaseExtra.php +++ b/Blacklight/ReleaseExtra.php @@ -3,10 +3,10 @@ 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 App\Models\ReleaseExtraFull; use Illuminate\Support\Facades\DB; use Mhor\MediaInfo\Container\MediaInfoContainer; diff --git a/Blacklight/ReleaseImage.php b/Blacklight/ReleaseImage.php index 7be1f565a..2e5d6f081 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 63604ea6a..62192c665 100644 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -2,15 +2,15 @@ namespace Blacklight; -use App\Models\Category; use App\Models\Release; +use App\Models\Category; 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 c1562c6d3..dc2a7e5eb 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 9dd1e0efd..e045f1006 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\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; +use Foolz\SphinxQL\Drivers\Pdo\Connection; +use Foolz\SphinxQL\Exception\DatabaseException; +use Foolz\SphinxQL\Exception\SphinxQLException; /** * Class SphinxSearch. diff --git a/Blacklight/XXX.php b/Blacklight/XXX.php index 19e854f26..6bdbec6a2 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 7863bd693..050b61d02 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 bb24a65d7..10ba211d2 100755 --- a/Blacklight/http/API.php +++ b/Blacklight/http/API.php @@ -21,8 +21,8 @@ namespace Blacklight\http; -use App\Models\AudioData; use App\Models\Category; +use App\Models\AudioData; use App\Models\UsenetGroup; use Blacklight\utility\Utility; diff --git a/Blacklight/http/RSS.php b/Blacklight/http/RSS.php index 2530c82ef..0dce28e11 100755 --- a/Blacklight/http/RSS.php +++ b/Blacklight/http/RSS.php @@ -2,14 +2,14 @@ namespace Blacklight\http; -use App\Models\Category; +use Blacklight\NZB; use App\Models\Release; +use App\Models\Category; +use Blacklight\Releases; use App\Models\UserMovie; use App\Models\UserSerie; -use Blacklight\NZB; -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/http/XML_Response.php b/Blacklight/http/XML_Response.php index 1f339d9ac..67b4397f1 100755 --- a/Blacklight/http/XML_Response.php +++ b/Blacklight/http/XML_Response.php @@ -21,8 +21,8 @@ namespace Blacklight\http; -use App\Models\Category; use App\Models\Release; +use App\Models\Category; use Illuminate\Support\Carbon; /** diff --git a/Blacklight/libraries/Forking.php b/Blacklight/libraries/Forking.php index 16cbec8e8..03cf2e339 100755 --- a/Blacklight/libraries/Forking.php +++ b/Blacklight/libraries/Forking.php @@ -2,18 +2,18 @@ namespace Blacklight\libraries; -use App\Models\Settings; -use App\Models\UsenetGroup; -use Blacklight\ColorCLI; use Blacklight\Nfo; -use Blacklight\NNTP; use Blacklight\NZB; -use Blacklight\processing\PostProcess; +use Blacklight\NNTP; +use Spatie\Async\Pool; +use App\Models\Settings; +use Blacklight\ColorCLI; +use App\Models\UsenetGroup; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Opis\Closure\SerializableClosure; -use Spatie\Async\Pool; +use Blacklight\processing\PostProcess; /** * Class Forking. diff --git a/Blacklight/libraries/TraktAPI.php b/Blacklight/libraries/TraktAPI.php index 1b5232946..1e6b8502e 100755 --- a/Blacklight/libraries/TraktAPI.php +++ b/Blacklight/libraries/TraktAPI.php @@ -3,8 +3,8 @@ namespace Blacklight\libraries; use GuzzleHttp\Client; -use GuzzleHttp\Exception\RequestException; use Illuminate\Support\Str; +use GuzzleHttp\Exception\RequestException; /** * Class TraktAPI diff --git a/Blacklight/processing/PostProcess.php b/Blacklight/processing/PostProcess.php index ac04c22c8..3a1980693 100755 --- a/Blacklight/processing/PostProcess.php +++ b/Blacklight/processing/PostProcess.php @@ -2,29 +2,29 @@ namespace Blacklight\processing; -use App\Models\Category; -use App\Models\Release; -use App\Models\ReleaseFile; -use App\Models\Settings; -use App\Models\UsenetGroup; +use Blacklight\Nfo; +use Blacklight\XXX; +use Blacklight\NNTP; 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 App\Models\UsenetGroup; +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 ad453bc2f..fb974b3a1 100755 --- a/Blacklight/processing/ProcessReleases.php +++ b/Blacklight/processing/ProcessReleases.php @@ -2,27 +2,27 @@ namespace Blacklight\processing; -use App\Models\Category; -use App\Models\Collection; -use App\Models\MusicInfo; -use App\Models\Predb; -use App\Models\Release; -use App\Models\ReleaseRegex; -use App\Models\ReleasesGroups; -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\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\ReleaseRegex; +use Blacklight\ConsoleTools; +use Blacklight\ReleaseImage; +use App\Models\ReleasesGroups; use Illuminate\Support\Carbon; +use Blacklight\ReleaseCleaning; 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 b9f734376..019c096d8 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 e5d7dcc13..16b909baa 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 16d4e0db1..12ef2d213 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -2,36 +2,36 @@ namespace Blacklight\processing\post; -use App\Models\Category; -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 FFMpeg\FFMpeg; use Blacklight\Nfo; -use Blacklight\NNTP; 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\ReleaseFile; +use App\Models\UsenetGroup; 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 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; +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 FFMpeg\Filters\Video\ResizeFilter; class ProcessAdditional { diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index 03e716738..7efb0a98d 100755 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -2,11 +2,11 @@ namespace Blacklight\processing\tv; -use Blacklight\ReleaseImage; -use Tmdb\ApiToken; use Tmdb\Client; -use Tmdb\Exception\TmdbApiException; +use Tmdb\ApiToken; +use Blacklight\ReleaseImage; use Tmdb\Helper\ImageHelper; +use Tmdb\Exception\TmdbApiException; 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 0a1d72c8e..0d8c4dd3b 100755 --- a/Blacklight/processing/tv/TV.php +++ b/Blacklight/processing/tv/TV.php @@ -2,15 +2,15 @@ namespace Blacklight\processing\tv; -use App\Models\Category; -use App\Models\Release; -use App\Models\Settings; -use App\Models\TvEpisode; -use App\Models\TvInfo; use App\Models\Video; +use App\Models\TvInfo; +use App\Models\Release; +use App\Models\Category; +use App\Models\Settings; use Blacklight\ColorCLI; -use Blacklight\processing\Videos; +use App\Models\TvEpisode; 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 ef3d5731a..ae4f829e0 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\Exception\ResourceNotFoundException; -use CanIHaveSomeCoffee\TheTVDbAPI\Exception\UnauthorizedException; use CanIHaveSomeCoffee\TheTVDbAPI\TheTVDbAPI; +use CanIHaveSomeCoffee\TheTVDbAPI\Exception\UnauthorizedException; +use CanIHaveSomeCoffee\TheTVDbAPI\Exception\ResourceNotFoundException; /** * 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 4e6db1e03..a4987e37e 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 0ed7016f9..16e4ac24d 100755 --- a/Blacklight/utility/Utility.php +++ b/Blacklight/utility/Utility.php @@ -3,10 +3,10 @@ namespace Blacklight\utility; use App\Models\Settings; -use Illuminate\Contracts\Pagination\LengthAwarePaginator; +use Illuminate\Support\Str; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; -use Illuminate\Support\Str; +use Illuminate\Contracts\Pagination\LengthAwarePaginator; /** * Class Utility. diff --git a/app/Console/Commands/FixturesDown.php b/app/Console/Commands/FixturesDown.php index fc301455f..067404463 100644 --- a/app/Console/Commands/FixturesDown.php +++ b/app/Console/Commands/FixturesDown.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use DariusIII\L5Fixtures\FixturesFacade; use Illuminate\Console\Command; +use DariusIII\L5Fixtures\FixturesFacade; class FixturesDown extends Command { diff --git a/app/Console/Commands/FixturesUp.php b/app/Console/Commands/FixturesUp.php index a795c437b..a8dbe2f91 100644 --- a/app/Console/Commands/FixturesUp.php +++ b/app/Console/Commands/FixturesUp.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use DariusIII\L5Fixtures\FixturesFacade; use Illuminate\Console\Command; +use DariusIII\L5Fixtures\FixturesFacade; class FixturesUp extends Command { diff --git a/app/Console/Commands/InstallNntmux.php b/app/Console/Commands/InstallNntmux.php index e1edf711c..91a27f618 100644 --- a/app/Console/Commands/InstallNntmux.php +++ b/app/Console/Commands/InstallNntmux.php @@ -2,11 +2,11 @@ namespace App\Console\Commands; -use App\Models\Settings; use App\Models\User; +use App\Models\Settings; +use Illuminate\Support\Str; 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 27a273c27..850d497d0 100644 --- a/app/Console/Commands/NntmuxResetPostProcessing.php +++ b/app/Console/Commands/NntmuxResetPostProcessing.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use App\Models\Category; use App\Models\Release; +use App\Models\Category; 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 1a39eeacb..e421200ca 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 c26db52b1..c9aead1f4 100644 --- a/app/Console/Commands/TmuxUIStop.php +++ b/app/Console/Commands/TmuxUIStop.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use App\Models\Settings; use Blacklight\Tmux; +use App\Models\Settings; use Illuminate\Console\Command; use Symfony\Component\Process\Process; diff --git a/app/Console/Commands/UpdateNNTmux.php b/app/Console/Commands/UpdateNNTmux.php index 237ed4eac..1732d1ca2 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 Illuminate\Support\Facades\App; use Ytake\LaravelSmarty\Smarty; +use Illuminate\Support\Facades\App; class UpdateNNTmux extends Command { diff --git a/app/Console/Commands/UpdateNNTmuxGit.php b/app/Console/Commands/UpdateNNTmuxGit.php index 371a3a9d8..510c6b648 100644 --- a/app/Console/Commands/UpdateNNTmuxGit.php +++ b/app/Console/Commands/UpdateNNTmuxGit.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use App\Extensions\util\Git; use Blacklight\Tmux; +use App\Extensions\util\Git; use Illuminate\Console\Command; class UpdateNNTmuxGit extends Command diff --git a/app/Events/UserAccessedApi.php b/app/Events/UserAccessedApi.php index db930770e..26923542e 100644 --- a/app/Events/UserAccessedApi.php +++ b/app/Events/UserAccessedApi.php @@ -2,9 +2,9 @@ namespace App\Events; -use Illuminate\Broadcasting\InteractsWithSockets; -use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +use Illuminate\Foundation\Events\Dispatchable; +use Illuminate\Broadcasting\InteractsWithSockets; class UserAccessedApi { diff --git a/app/Events/UserLoggedIn.php b/app/Events/UserLoggedIn.php index 520cd8eda..b89344f0d 100644 --- a/app/Events/UserLoggedIn.php +++ b/app/Events/UserLoggedIn.php @@ -2,9 +2,9 @@ namespace App\Events; -use Illuminate\Broadcasting\InteractsWithSockets; -use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +use Illuminate\Foundation\Events\Dispatchable; +use Illuminate\Broadcasting\InteractsWithSockets; class UserLoggedIn { diff --git a/app/Extensions/helper/helpers.php b/app/Extensions/helper/helpers.php index b6af3b89d..aa9a946a0 100644 --- a/app/Extensions/helper/helpers.php +++ b/app/Extensions/helper/helpers.php @@ -1,18 +1,18 @@ 'default', - /** + /* * These are the connection parameters used when building a client. */ 'connections' => [ 'default' => [ - /** + /* * Hosts. * * This is an array of hosts that the client will connect to. It can be a @@ -52,7 +52,7 @@ return [ ], ], - /** + /* * SSL. * * If your Elasticsearch instance uses an out-dated or self-signed SSL @@ -69,7 +69,7 @@ return [ */ 'sslVerification' => null, - /** + /* * Logging. * * Logging is handled by passing in an instance of Monolog\Logger (which @@ -95,7 +95,7 @@ return [ 'logLevel' => Monolog\Logger::INFO, - /** + /* * Retries. * * By default, the client will retry n times, where n = number of nodes in @@ -106,21 +106,21 @@ return [ */ 'retries' => null, - /** + /* * The remainder of the configuration options can almost always be left * as-is unless you have specific reasons to change them. Refer to the * appropriate sections in the Elasticsearch documentation for what each option * does and what values it expects. */ - /** + /* * Sniff On Start. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html */ 'sniffOnStart' => false, - /** + /* * HTTP Handler. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_configure_the_http_handler @@ -128,7 +128,7 @@ return [ */ 'httpHandler' => null, - /** + /* * Connection Pool. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_pool @@ -136,7 +136,7 @@ return [ */ 'connectionPool' => null, - /** + /* * Connection Selector. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_selector @@ -144,7 +144,7 @@ return [ */ 'connectionSelector' => null, - /** + /* * Serializer. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_serializer @@ -152,21 +152,21 @@ return [ */ 'serializer' => null, - /** + /* * Connection Factory. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_a_custom_connectionfactory */ 'connectionFactory' => null, - /** + /* * Endpoint. * * @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/6.0/_configuration.html#_set_the_endpoint_closure */ 'endpoint' => null, - /** + /* * Register additional namespaces. * * An array of additional namespaces to register. @@ -176,7 +176,7 @@ return [ */ 'namespaces' => [], - /** + /* * Tracer. * * Tracer is handled by passing in a name of the class implements Psr\Log\LoggerInterface. diff --git a/config/irc_settings.php b/config/irc_settings.php index d7eec3c2b..72558321c 100644 --- a/config/irc_settings.php +++ b/config/irc_settings.php @@ -10,67 +10,67 @@ return [ 'username' => env('SCRAPE_IRC_USERNAME', ''), /*********************************************************************************************************************** - * The IRC server to connect to. - * @note If you have issues connecting=>head to https://www.synirc.net/servers and try another server. - **********************************************************************************************************************/ + * The IRC server to connect to. + * @note If you have issues connecting=>head to https://www.synirc.net/servers and try another server. + **********************************************************************************************************************/ 'scrape_irc_server' => env('SCRAPE_IRC_SERVER', 'irc.synirc.net'), /*********************************************************************************************************************** - * This is the port to the IRC server. - * @note If you want use SSL/TLS=>use a corresponding port (6697 or 7001 for example)=>and set SCRAPE_IRC_TLS to true. - **********************************************************************************************************************/ + * This is the port to the IRC server. + * @note If you want use SSL/TLS=>use a corresponding port (6697 or 7001 for example)=>and set SCRAPE_IRC_TLS to true. + **********************************************************************************************************************/ 'scrape_irc_port' => env('SCRAPE_IRC_PORT', 6667), /*********************************************************************************************************************** - * If you want to use SSL/TLS encryption on the IRC server=>set this to true. - * @note Make sure you use a valid SSL/TLS port in SCRAPE_IRC_PORT. - **********************************************************************************************************************/ + * If you want to use SSL/TLS encryption on the IRC server=>set this to true. + * @note Make sure you use a valid SSL/TLS port in SCRAPE_IRC_PORT. + **********************************************************************************************************************/ 'scrape_irc_tls' => env('SCRAPE_IRC_TLS', false), /*********************************************************************************************************************** - * This is the nick name visible in IRC channels. - **********************************************************************************************************************/ + * This is the nick name visible in IRC channels. + **********************************************************************************************************************/ 'scrape_irc_nickname'=> env('SCRAPE_IRC_USERNAME', ''), /*********************************************************************************************************************** - * This is a name that is visible to others when they type /whois nickname. - **********************************************************************************************************************/ + * This is a name that is visible to others when they type /whois nickname. + **********************************************************************************************************************/ 'scrape_irc_realname'=> env('SCRAPE_IRC_USERNAME', ''), /*********************************************************************************************************************** - * This is used as part of your "ident" when connecting to IRC. - * @note This is also the username for ZNC. - **********************************************************************************************************************/ + * This is used as part of your "ident" when connecting to IRC. + * @note This is also the username for ZNC. + **********************************************************************************************************************/ 'scrape_irc_username' => env('SCRAPE_IRC_USERNAME', ''), /*********************************************************************************************************************** - * This is not required by synirc=>but if you use ZNC=>this is required. - * @note Put your password between quotes: 'mypassword' - * @note If you are using ZNC and having issues=>try 'username:password' or 'username/network:' - **********************************************************************************************************************/ + * This is not required by synirc=>but if you use ZNC=>this is required. + * @note Put your password between quotes: 'mypassword' + * @note If you are using ZNC and having issues=>try 'username:password' or 'username/network:' + **********************************************************************************************************************/ 'scrape_irc_password' => env('SCRAPE_IRC_PASSWORD', false), /*********************************************************************************************************************** - * This is an optional field you can use for ignoring categories. - * @note If you do not wish to exclude any categories=>leave it a empty string: '' - * @examples Case sensitive: '/^(XXX|PDA|EBOOK|MP3)$/' - * Case insensitive: '/^(X264|TV)$/i' - **********************************************************************************************************************/ + * This is an optional field you can use for ignoring categories. + * @note If you do not wish to exclude any categories=>leave it a empty string: '' + * @examples Case sensitive: '/^(XXX|PDA|EBOOK|MP3)$/' + * Case insensitive: '/^(X264|TV)$/i' + **********************************************************************************************************************/ 'scrape_irc_category_ignore' => '', /*********************************************************************************************************************** - * This is an optional field you can use for ignoring PRE titles. - * @note If you do not wish to exclude any PRE titles=>leave it a empty string: '' - * @examples Case insensitive ignore German or XXX in the title: '/\.(German|XXX)\./i' - * This would ignore titles like: - * Yanks.14.06.30.Bianca.Travelman.Is.A.Nudist.XXX.MP4-FUNKY - * Blancanieves.Ein.Maerchen.von.Schwarz.und.Weiss.2012.German.1080p.BluRay.x264-CONTRiBUTiON - **********************************************************************************************************************/ + * This is an optional field you can use for ignoring PRE titles. + * @note If you do not wish to exclude any PRE titles=>leave it a empty string: '' + * @examples Case insensitive ignore German or XXX in the title: '/\.(German|XXX)\./i' + * This would ignore titles like: + * Yanks.14.06.30.Bianca.Travelman.Is.A.Nudist.XXX.MP4-FUNKY + * Blancanieves.Ein.Maerchen.von.Schwarz.und.Weiss.2012.German.1080p.BluRay.x264-CONTRiBUTiON + **********************************************************************************************************************/ 'scrape_irc_title_ignore' => '', /*********************************************************************************************************************** - * This is a list of all the channels we fetch PRE's from. - **********************************************************************************************************************/ + * This is a list of all the channels we fetch PRE's from. + **********************************************************************************************************************/ 'scrape_irc_channels' => serialize( [ @@ -81,9 +81,9 @@ return [ ), /*********************************************************************************************************************** - * This is a list of all the sources we fetch PRE's from. - * If you want to ignore a source=>change it from false to true. - **********************************************************************************************************************/ + * This is a list of all the sources we fetch PRE's from. + * If you want to ignore a source=>change it from false to true. + **********************************************************************************************************************/ 'scrape_irc_source_ignore' => serialize( [ diff --git a/config/telescope.php b/config/telescope.php index b2db8d8ef..d85a0e889 100644 --- a/config/telescope.php +++ b/config/telescope.php @@ -1,7 +1,7 @@ getPdo(); diff --git a/misc/testing/PostProc/getGameCovers.php b/misc/testing/PostProc/getGameCovers.php index 27d2b37ef..4588c0f8e 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\ColorCLI; use Blacklight\Games; +use Blacklight\ColorCLI; $pdo = DB::connection()->getPdo(); $game = new Games(['Echo' => true]); diff --git a/misc/testing/PostProc/getImdb.php b/misc/testing/PostProc/getImdb.php index 1cffa5109..45cb4bde6 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\ColorCLI; use Blacklight\Movie; +use Blacklight\ColorCLI; use Illuminate\Support\Facades\DB; $pdo = DB::connection()->getPdo(); diff --git a/misc/testing/PostProc/getMovieCovers.php b/misc/testing/PostProc/getMovieCovers.php index a0fca34ca..3cdba1711 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 App\Models\MovieInfo; -use Blacklight\ColorCLI; use Blacklight\Movie; +use Blacklight\ColorCLI; +use App\Models\MovieInfo; $movie = new Movie(['Echo' => true]); $colorCli = new ColorCLI(); diff --git a/misc/testing/PostProc/getTraktData.php b/misc/testing/PostProc/getTraktData.php index c71a62b5f..2296033eb 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 App\Models\MovieInfo; -use Blacklight\ColorCLI; use Blacklight\Movie; +use Blacklight\ColorCLI; +use App\Models\MovieInfo; 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 8c0d1d343..d8f5244ec 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\ColorCLI; use Blacklight\XXX; +use Blacklight\ColorCLI; $movie = new XXX(); $c = new ColorCLI(); diff --git a/misc/testing/PostProc/updateConsoleImages.php b/misc/testing/PostProc/updateConsoleImages.php index e48d602e5..22a6aee5b 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 App\Models\ConsoleInfo; use Blacklight\ColorCLI; +use App\Models\ConsoleInfo; use Illuminate\Support\Facades\File; $covers = $updated = $deleted = 0; diff --git a/misc/testing/PostProc/updateGamesImages.php b/misc/testing/PostProc/updateGamesImages.php index 17d6d278b..99421dda2 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 94b6fea0f..0cce5d47b 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 15dafd306..f7bb3c216 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 App\Models\MusicInfo; use Blacklight\ColorCLI; +use App\Models\MusicInfo; use Illuminate\Support\Facades\File; $covers = $updated = $deleted = 0; diff --git a/misc/testing/Releases/fixReleaseNames.php b/misc/testing/Releases/fixReleaseNames.php index 3612752de..22277705b 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 fb23723ba..91c44def0 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\Category; use App\Models\Release; -use Blacklight\Categorize; +use App\Models\Category; use Blacklight\ColorCLI; +use Blacklight\Categorize; 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 9865d1bf2..2236b5539 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 a73777a69..4951b78e8 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\Backfill; use Blacklight\NNTP; +use Blacklight\Backfill; // Create the connection here and pass $nntp = new NNTP(); diff --git a/misc/update/postprocess.php b/misc/update/postprocess.php index 1384693d1..5e7398116 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 App\Models\Settings; use Blacklight\NNTP; +use App\Models\Settings; use Blacklight\processing\PostProcess; /** diff --git a/misc/update/tmux/bin/groupfixrelnames.php b/misc/update/tmux/bin/groupfixrelnames.php index b0cc5140b..45aadbb77 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 App\Models\Category; +use Blacklight\Nfo; +use Blacklight\NZB; +use Blacklight\NNTP; 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 Blacklight\processing\PostProcess; use Illuminate\Support\Facades\DB; +use Blacklight\processing\PostProcess; $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 4e2578aa1..911537d76 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 Blacklight\ColorCLI; -use Blacklight\ConsoleTools; -use Blacklight\NNTP; use Illuminate\Support\Arr; +use Blacklight\ConsoleTools; use Illuminate\Support\Facades\DB; $start = now(); diff --git a/misc/update/tmux/monitor.php b/misc/update/tmux/monitor.php index 9dded8ab7..cc3f8d7dc 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 App\Models\Category; +use Blacklight\Tmux; use App\Models\Release; +use Blacklight\TmuxRun; +use App\Models\Category; 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 759371f27..0be76fc99 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 9ea44514f..d4b04c21e 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 Blacklight\NNTP; +use App\Models\UsenetGroup; $maxHeaders = (int) Settings::settingValue('..max_headers_iteration') ?: 1000000; $colorCli = new ColorCLI();