Test Setup Failed
Branch master (815d3e)
by Julien
20:01
created
app/Exceptions/InvitationNotActiveException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
                 'quote' => trans('msg.invitation_used'),
13 13
                 'author' => "Admin",
14 14
                 'source' => "",
15
-                'sentryID' => $this->sentryID,]
15
+                'sentryID' => $this->sentryID, ]
16 16
         );
17 17
     }
18 18
 
Please login to merge, or discard this patch.
app/Exceptions/NotOwningClubException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
                 'quote' => trans('msg.you_dont_own_club'),
14 14
                 'author' => trans('msg.please_ask_associationPresident'),
15 15
                 'source' => "",
16
-                'sentryID' => $this->sentryID,]
16
+                'sentryID' => $this->sentryID, ]
17 17
         );
18 18
     }
19 19
 
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,9 @@
 block discarded – undo
122 122
                 break;
123 123
         }
124 124
 
125
-        if ($exception instanceof MaintenanceModeException)
126
-            return response()->view('errors.503');
125
+        if ($exception instanceof MaintenanceModeException) {
126
+                    return response()->view('errors.503');
127
+        }
127 128
 
128 129
 
129 130
         return response()->view('errors.general',
Please login to merge, or discard this patch.
app/Exceptions/NotOwningFederationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
                 'quote' => trans('msg.you_dont_own_federation'),
14 14
                 'author' => trans('msg.please_ask_superadmin'),
15 15
                 'source' => "",
16
-                'sentryID' => $this->sentryID,]
16
+                'sentryID' => $this->sentryID, ]
17 17
         );
18 18
     }
19 19
 
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
         /*
20 20
          * Authenticate the user's personal channel...
21 21
          */
22
-        Broadcast::channel('App.User.*', function ($user, $userId) {
23
-            return (int)$user->id === (int)$userId;
22
+        Broadcast::channel('App.User.*', function($user, $userId) {
23
+            return (int) $user->id === (int) $userId;
24 24
         });
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         Route::group([
58 58
             'middleware' => 'web',
59 59
             'namespace' => $this->namespace,
60
-        ], function ($router) {
60
+        ], function($router) {
61 61
             require base_path('routes/web.php');
62 62
         });
63 63
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             'prefix' => 'api',
79 79
             'as' => 'api.',
80 80
 
81
-        ], function ($router) {
81
+        ], function($router) {
82 82
             require base_path('routes/api.php');
83 83
         });
84 84
     }
Please login to merge, or discard this patch.
app/Team.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     protected static function boot()
8 8
     {
9 9
         parent::boot();
10
-        static::deleting(function ($team) {
10
+        static::deleting(function($team) {
11 11
             $teams = Team::where('championship_id', $team->championship_id)
12 12
                 ->where('id', '>', $team->id)->get();
13 13
             foreach ($teams as $team) {
Please login to merge, or discard this patch.
app/Http/Requests/ChampionshipRequest.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,9 @@
 block discarded – undo
32 32
 
33 33
     public function getInvite(Tournament $tournament)
34 34
     {
35
-        if ($this->invite != 0)
36
-            return Invite::findOrFail($this->invite);
35
+        if ($this->invite != 0) {
36
+                    return Invite::findOrFail($this->invite);
37
+        }
37 38
 
38 39
         return Invite::where('code', 'open')
39 40
             ->where('email', Auth::user()->email)
Please login to merge, or discard this patch.
app/Http/Controllers/FightController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function index(Request $request)
17 17
     {
18 18
         $grades = Grade::getAllPlucked();
19
-        $tournament = Tournament::with(['championships.firstRoundFights' => function ($query) {
19
+        $tournament = Tournament::with(['championships.firstRoundFights' => function($query) {
20 20
             $query->with(['competitor1.user', 'competitor2.user', 'team1', 'team2']);
21 21
         }])->where('slug', $request->tournament)
22 22
             ->first();
Please login to merge, or discard this patch.