Test Setup Failed
Push — master ( 18aad0...79eeb7 )
by Marcel
05:40
created
app/Events/GameView.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Broadcasting\Channel;
6 6
 use Illuminate\Queue\SerializesModels;
7 7
 use Illuminate\Broadcasting\PrivateChannel;
8
-use Illuminate\Broadcasting\PresenceChannel;
9 8
 use Illuminate\Broadcasting\InteractsWithSockets;
10
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
11 9
 
12 10
 class GameView
13 11
 {
Please login to merge, or discard this patch.
app/Events/Obyx.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Broadcasting\Channel;
6 6
 use Illuminate\Queue\SerializesModels;
7 7
 use Illuminate\Broadcasting\PrivateChannel;
8
-use Illuminate\Broadcasting\PresenceChannel;
9 8
 use Illuminate\Broadcasting\InteractsWithSockets;
10
-use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
11 9
 
12 10
 class Obyx
13 11
 {
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Exception;
6 6
 use Illuminate\Auth\AuthenticationException;
7 7
 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
8
-use Intervention\Image\Exception\NotFoundException;
9 8
 use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
10 9
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
11 10
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         if($exception instanceof NotFoundHttpException){
51 51
             return response()->view('errors.404', [], 404);
52
-        }elseif($exception instanceof AccessDeniedHttpException){
52
+        } elseif($exception instanceof AccessDeniedHttpException){
53 53
             return response()->view('errors.403', [], 403);
54 54
         }
55 55
         return parent::render($request, $exception);
Please login to merge, or discard this patch.
app/Http/Controllers/Api/v1/GameController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers\Api\v1;
4 4
 
5 5
 use App\Models\Game;
6
-use Carbon\Carbon;
7
-use Illuminate\Http\Request;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class GameController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Api/v1/TakoController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers\Api\v1;
4 4
 
5 5
 use App\Models\GamesFile;
6
-use Illuminate\Http\Request;
7 6
 use App\Http\Controllers\Controller;
8 7
 
9 8
 class TakoController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/AutocompleteController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use App\Models\User;
6
-use Illuminate\Http\Request;
7
-use Illuminate\Support\Facades\Input;
8 6
 use App\Models\Developer;
9 7
 
10 8
 class AutocompleteController extends Controller
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         foreach($games as $g){
42 42
             if(is_null($g->subtitle) || $g->subtitle == ''){
43 43
                 $result[] = ['id' => $g->id, 'value' => $g->title];
44
-            }else{
44
+            } else{
45 45
                 $result[] = ['id' => $g->id, 'value' => $g->title.' -=- '.$g->subtitle];
46 46
             }
47 47
 
Please login to merge, or discard this patch.
app/Http/Controllers/BoardController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use App\Models\BoardThread;
9 9
 use Carbon\Carbon;
10 10
 use Illuminate\Http\Request;
11
-use Illuminate\Pagination\Paginator;
12 11
 use Illuminate\Support\Facades\Input;
13 12
 
14 13
 class BoardController extends Controller
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             \DB::table('board_cats')
59 59
                 ->where('id', '=', $catid)
60 60
                 ->increment('order');
61
-        }else{
61
+        } else{
62 62
             \DB::table('board_cats')
63 63
                 ->where('id', '=', $catid)
64 64
                 ->decrement('order');
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $posts = BoardPost::with('user', 'thread', 'cat')->whereThreadId($threadid)->orderBy('id')->paginate(25);
88 88
         if(!Input::get('page')){
89 89
            return redirect('board/thread/'.$threadid.'?page='.$posts->lastPage());
90
-        }else{
90
+        } else{
91 91
             return view('board.threads.show', [
92 92
                 'posts' => $posts,
93 93
             ]);
Please login to merge, or discard this patch.
app/Http/Controllers/DeveloperController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use App\Models\Game;
6 5
 use App\Models\GamesDeveloper;
7 6
 use Illuminate\Http\Request;
8 7
 
Please login to merge, or discard this patch.
app/Http/Controllers/EventController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Models\EventSetting;
7 7
 use Illuminate\Http\Request;
8 8
 use Illuminate\Support\Facades\Input;
9
-use Illuminate\Validation\Rules\In;
10 9
 
11 10
 class EventController extends Controller
12 11
 {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $es->reg_end_date = $request->get('reg_end');
61 61
         if($request->get('reg_allowed') == "on"){
62 62
             $es->reg_allowed = 1;
63
-        }else{
63
+        } else{
64 64
             $es->reg_allowed = 0;
65 65
         }
66 66
         $es->save();
Please login to merge, or discard this patch.