Completed
Branch dev (c992ef)
by Darko
06:17
created
nntmux/NZBGet.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6
-use GuzzleHttp\Client;
7 5
 use App\Models\Release;
8
-use nntmux\utility\Utility;
6
+use GuzzleHttp\Client;
9 7
 use GuzzleHttp\Psr7\Request;
8
+use nntmux\db\DB;
9
+use nntmux\utility\Utility;
10 10
 
11 11
 /**
12 12
  * Class NZBGet.
Please login to merge, or discard this patch.
public/admin/release-files.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
4 4
 
5
-use nntmux\NZB;
6
-use nntmux\db\DB;
7
-use App\Models\User;
8 5
 use App\Models\Release;
9 6
 use App\Models\Settings;
7
+use App\Models\User;
8
+use nntmux\NZB;
9
+use nntmux\db\DB;
10 10
 
11 11
 $page = new AdminPage;
12 12
 $pdo = new DB();
Please login to merge, or discard this patch.
public/pages/api.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use App\Models\User;
4
-use nntmux\http\API;
5
-use nntmux\Releases;
6 3
 use App\Models\Release;
7
-use App\Models\Settings;
8 4
 use App\Models\ReleaseNfo;
5
+use App\Models\Settings;
6
+use App\Models\User;
9 7
 use App\Models\UserRequest;
8
+use nntmux\Releases;
9
+use nntmux\http\API;
10 10
 use nntmux\utility\Utility;
11 11
 
12 12
 // API functions.
Please login to merge, or discard this patch.
public/admin/user-edit.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
4 4
 
5
+use App\Mail\AccountChange;
6
+use App\Models\Invitation;
5 7
 use App\Models\User;
6 8
 use App\Models\UserRole;
7
-use App\Models\Invitation;
8
-use App\Mail\AccountChange;
9 9
 use Illuminate\Support\Facades\Mail;
10 10
 
11 11
 $page = new AdminPage();
Please login to merge, or discard this patch.
app/Models/ReleaseFile.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Models;
4 4
 
5
-use nntmux\SphinxSearch;
6
-use Illuminate\Support\Carbon;
7 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Support\Carbon;
7
+use nntmux\SphinxSearch;
8 8
 
9 9
 class ReleaseFile extends Model
10 10
 {
Please login to merge, or discard this patch.
app/Models/Release.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Models;
4 4
 
5
-use nntmux\NZB;
6
-use nntmux\SphinxSearch;
5
+use Illuminate\Database\Eloquent\Model;
7 6
 use Illuminate\Support\Carbon;
8
-use Illuminate\Support\Facades\DB;
9 7
 use Illuminate\Support\Facades\Cache;
10
-use Illuminate\Database\Eloquent\Model;
8
+use Illuminate\Support\Facades\DB;
9
+use nntmux\NZB;
10
+use nntmux\SphinxSearch;
11 11
 
12 12
 class Release extends Model
13 13
 {
Please login to merge, or discard this patch.
misc/sphinxsearch/populate_rt_indexes.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
4 4
 
5
-use nntmux\db\DB;
6
-use nntmux\SphinxSearch;
7 5
 use nntmux\ReleaseSearch;
6
+use nntmux\SphinxSearch;
7
+use nntmux\db\DB;
8 8
 
9 9
 if (NN_RELEASE_SEARCH_TYPE !== ReleaseSearch::SPHINX) {
10 10
     exit('Error, NN_RELEASE_SEARCH_TYPE in nntmux/config/settings.php must be set to SPHINX!'.PHP_EOL);
Please login to merge, or discard this patch.
nntmux/db/populate/AniDB.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux\db\populate;
4 4
 
5
-use nntmux\ColorCLI;
6
-use App\Models\Settings;
7
-use nntmux\ReleaseImage;
5
+use App\Models\AnidbEpisode;
8 6
 use App\Models\AnidbInfo;
9 7
 use App\Models\AnidbTitle;
10
-use App\Models\AnidbEpisode;
8
+use App\Models\Settings;
11 9
 use Illuminate\Support\Carbon;
10
+use nntmux\ColorCLI;
11
+use nntmux\ReleaseImage;
12 12
 
13 13
 class AniDB
14 14
 {
Please login to merge, or discard this patch.
nntmux/IRCScraper.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6 5
 use App\Models\Predb;
6
+use nntmux\db\DB;
7 7
 
8 8
 /**
9 9
  * Class IRCScraper.
Please login to merge, or discard this patch.