From f763b77ceca13823dc4caa96185d227ec4bad584 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 7 May 2024 21:04:36 +0200 Subject: [PATCH] CS fixes --- Blacklight/ElasticSearchSiteSearch.php | 1 - Blacklight/processing/ProcessReleases.php | 1 - Blacklight/processing/tv/TMDB.php | 1 - misc/testing/NZB/nzb-reorg.php | 4 ++-- misc/update/tmux/run.php | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Blacklight/ElasticSearchSiteSearch.php b/Blacklight/ElasticSearchSiteSearch.php index e6e9e4b16..8d17c4852 100644 --- a/Blacklight/ElasticSearchSiteSearch.php +++ b/Blacklight/ElasticSearchSiteSearch.php @@ -5,7 +5,6 @@ namespace Blacklight; use App\Models\Release; use Elasticsearch; use Elasticsearch\Common\Exceptions\ElasticsearchException; -use Elasticsearch\Elasticsearch\ClientBuilder; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; diff --git a/Blacklight/processing/ProcessReleases.php b/Blacklight/processing/ProcessReleases.php index 801591dc3..a715732b8 100755 --- a/Blacklight/processing/ProcessReleases.php +++ b/Blacklight/processing/ProcessReleases.php @@ -22,7 +22,6 @@ use Blacklight\Releases; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Str; -use JetBrains\PhpStorm\ArrayShape; class ProcessReleases { diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index 510eb4967..7061ef1b8 100644 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -3,7 +3,6 @@ namespace Blacklight\processing\tv; use Blacklight\ReleaseImage; -use JetBrains\PhpStorm\ArrayShape; use Tmdb\Client; use Tmdb\Exception\TmdbApiException; use Tmdb\Helper\ImageHelper; diff --git a/misc/testing/NZB/nzb-reorg.php b/misc/testing/NZB/nzb-reorg.php index 419f6aed9..7a3d5a2b1 100755 --- a/misc/testing/NZB/nzb-reorg.php +++ b/misc/testing/NZB/nzb-reorg.php @@ -2,8 +2,8 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; - use App\Models\Settings; - use Blacklight\ConsoleTools; +use App\Models\Settings; +use Blacklight\ConsoleTools; use Blacklight\NZB; if (! isset($argv[1]) || ! isset($argv[2])) { diff --git a/misc/update/tmux/run.php b/misc/update/tmux/run.php index 94528d9be..26da7c7f6 100644 --- a/misc/update/tmux/run.php +++ b/misc/update/tmux/run.php @@ -5,8 +5,8 @@ require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; use App\Models\Collection; use App\Models\Settings; use Blacklight\ColorCLI; -use Illuminate\Support\Facades\Process; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Process; $tmuxPath = base_path().'/misc/update/tmux/'; $import = Settings::settingValue('site.tmux.import') ?? 0;