GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch develop (a1d3bb)
by Dane
11:05
created
app/Console/Commands/ClearServices.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 namespace Pterodactyl\Console\Commands;
25 25
 
26 26
 use DB;
27
-
28 27
 use Illuminate\Console\Command;
29 28
 
30 29
 class ClearServices extends Command
Please login to merge, or discard this patch.
app/Console/Commands/ClearTasks.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -23,14 +23,11 @@
 block discarded – undo
23 23
  */
24 24
 namespace Pterodactyl\Console\Commands;
25 25
 
26
-use DB;
27 26
 use Carbon;
28 27
 use Pterodactyl\Models;
29 28
 use Illuminate\Console\Command;
30 29
 use Illuminate\Foundation\Bus\DispatchesJobs;
31 30
 
32
-use Pterodactyl\Jobs\SendScheduledTask;
33
-
34 31
 class ClearTasks extends Command
35 32
 {
36 33
 
Please login to merge, or discard this patch.
app/Console/Commands/MakeUser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,7 @@
 block discarded – undo
23 23
  */
24 24
 namespace Pterodactyl\Console\Commands;
25 25
 
26
-use Hash;
27 26
 use Illuminate\Console\Command;
28
-
29 27
 use Pterodactyl\Repositories\UserRepository;
30 28
 
31 29
 class MakeUser extends Command
Please login to merge, or discard this patch.
app/Console/Commands/RunTasks.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -23,12 +23,10 @@
 block discarded – undo
23 23
  */
24 24
 namespace Pterodactyl\Console\Commands;
25 25
 
26
-use DB;
27 26
 use Carbon;
28 27
 use Pterodactyl\Models;
29 28
 use Illuminate\Console\Command;
30 29
 use Illuminate\Foundation\Bus\DispatchesJobs;
31
-
32 30
 use Pterodactyl\Jobs\SendScheduledTask;
33 31
 
34 32
 class RunTasks extends Command
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
35 35
      *
36
-     * @param  \Exception  $e
37 36
      * @return void
38 37
      */
39 38
     public function report(Exception $exception)
@@ -45,7 +44,6 @@  discard block
 block discarded – undo
45 44
      * Render an exception into an HTTP response.
46 45
      *
47 46
      * @param  \Illuminate\Http\Request  $request
48
-     * @param  \Exception  $e
49 47
      * @return \Illuminate\Http\Response
50 48
      */
51 49
     public function render($request, Exception $exception)
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,12 +3,8 @@
 block discarded – undo
3 3
 namespace Pterodactyl\Exceptions;
4 4
 
5 5
 use Log;
6
-
7 6
 use Exception;
8 7
 use DisplayException;
9
-use DisplayValidationException;
10
-use AccountNotFoundException;
11
-
12 8
 use Illuminate\Auth\AuthenticationException;
13 9
 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
14 10
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/BaseController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Alert;
27 27
 use Settings;
28 28
 use Validator;
29
-
30 29
 use Pterodactyl\Http\Controllers\Controller;
31 30
 use Illuminate\Http\Request;
32 31
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/DatabaseController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,10 @@
 block discarded – undo
26 26
 use Alert;
27 27
 use DB;
28 28
 use Log;
29
-
30 29
 use Pterodactyl\Models;
31 30
 use Pterodactyl\Repositories\DatabaseRepository;
32 31
 use Pterodactyl\Exceptions\DisplayException;
33 32
 use Pterodactyl\Exceptions\DisplayValidationException;
34
-
35 33
 use Pterodactyl\Http\Controllers\Controller;
36 34
 use Illuminate\Http\Request;
37 35
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/LocationsController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -25,14 +25,11 @@
 block discarded – undo
25 25
 
26 26
 use DB;
27 27
 use Alert;
28
-
29 28
 use Pterodactyl\Models;
30 29
 use Pterodactyl\Repositories\LocationRepository;
31 30
 use Pterodactyl\Http\Controllers\Controller;
32
-
33 31
 use Pterodactyl\Exceptions\DisplayValidationException;
34 32
 use Pterodactyl\Exceptions\DisplayException;
35
-
36 33
 use Illuminate\Http\Request;
37 34
 
38 35
 class LocationsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/NodesController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -24,16 +24,13 @@
 block discarded – undo
24 24
 namespace Pterodactyl\Http\Controllers\Admin;
25 25
 
26 26
 use Alert;
27
-use Debugbar;
28 27
 use Log;
29 28
 use DB;
30 29
 use Validator;
31
-
32 30
 use Pterodactyl\Models;
33 31
 use Pterodactyl\Repositories\NodeRepository;
34 32
 use Pterodactyl\Exceptions\DisplayException;
35 33
 use Pterodactyl\Exceptions\DisplayValidationException;
36
-
37 34
 use Pterodactyl\Http\Controllers\Controller;
38 35
 use Illuminate\Http\Request;
39 36
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function getScript(Request $request, $id)
52 52
     {
53
-        return response()->view('admin.nodes.remote.deploy', [ 'node' => Models\Node::findOrFail($id) ])->header('Content-Type', 'text/plain');
53
+        return response()->view('admin.nodes.remote.deploy', ['node' => Models\Node::findOrFail($id)])->header('Content-Type', 'text/plain');
54 54
     }
55 55
 
56 56
     public function getIndex(Request $request)
@@ -217,17 +217,17 @@  discard block
 block discarded – undo
217 217
         }
218 218
 
219 219
         $processedData = [];
220
-        foreach($request->input('allocate_ip') as $ip) {
220
+        foreach ($request->input('allocate_ip') as $ip) {
221 221
             if (!array_key_exists($ip, $processedData)) {
222 222
                 $processedData[$ip] = [];
223 223
             }
224 224
         }
225 225
 
226
-        foreach($request->input('allocate_port') as $portid => $ports) {
226
+        foreach ($request->input('allocate_port') as $portid => $ports) {
227 227
             if (array_key_exists($portid, $request->input('allocate_ip'))) {
228 228
                 $json = json_decode($ports);
229 229
                 if (json_last_error() === 0 && !empty($json)) {
230
-                    foreach($json as &$parsed) {
230
+                    foreach ($json as &$parsed) {
231 231
                         array_push($processedData[$request->input('allocate_ip')[$portid]], $parsed->value);
232 232
                     }
233 233
                 }
Please login to merge, or discard this patch.