Passed
Push — develop ( 51ef1b...aedc80 )
by Nikita
12:14 queued 05:08
created
app/Providers/FormServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        view()->composer('*', function () {
17
+        view()->composer('*', function() {
18 18
             Form::component('bsInput', 'components.form.input',
19 19
                 ['name', 'options' => []]
20 20
             );
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/GameModsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         GameMod::create($request->all());
55 55
 
56 56
         return redirect()->route('admin.games.index')
57
-            ->with('success','Game mod created successfully');
57
+            ->with('success', 'Game mod created successfully');
58 58
     }
59 59
 
60 60
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $gameMod->update($request->all());
81 81
 
82 82
         return redirect()->route('admin.games.edit', ['game' => $gameMod->game_code])
83
-            ->with('success','Game Mod updated successfully');
83
+            ->with('success', 'Game Mod updated successfully');
84 84
     }
85 85
 
86 86
     /**
@@ -93,6 +93,6 @@  discard block
 block discarded – undo
93 93
     {
94 94
         $gameMod->delete();
95 95
         return redirect()->route('admin.games.index')
96
-            ->with('success','Game Mod deleted successfully');
96
+            ->with('success', 'Game Mod deleted successfully');
97 97
     }
98 98
 }
99 99
\ No newline at end of file
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UsersController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function index()
38 38
     {
39
-        return view('admin.users.list',[
39
+        return view('admin.users.list', [
40 40
             'users' => $this->repository->getAll()
41 41
         ]);
42 42
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $this->repository->store($request->all());
65 65
 
66 66
         return redirect()->route('admin.users.index')
67
-            ->with('success','User created successfully');
67
+            ->with('success', 'User created successfully');
68 68
     }
69 69
 
70 70
     /**
@@ -118,6 +118,6 @@  discard block
 block discarded – undo
118 118
     {
119 119
         $user->delete();
120 120
         return redirect()->route('admin.users.index')
121
-            ->with('success','User deleted successfully');
121
+            ->with('success', 'User deleted successfully');
122 122
     }
123 123
 }
124 124
\ No newline at end of file
Please login to merge, or discard this patch.
app/Repositories/ServerRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         $addInstallTask = false;
40 40
         if (isset($attributes['install'])) {
41
-            $attributes['installed'] = ! $attributes['install'];
41
+            $attributes['installed'] = !$attributes['install'];
42 42
             $addInstallTask = true;
43 43
 
44 44
             unset($attributes['install']);
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         return $this->model->select(['id', 'name', 'server_ip', 'server_port', 'game_id', 'game_mod_id'])
90 90
             ->with(['game' => function($query) {
91
-                $query->select('code','name');
91
+                $query->select('code', 'name');
92 92
             }])
93 93
             ->where('name', 'LIKE', '%' . $query . '%')
94 94
             ->get();
Please login to merge, or discard this patch.
app/Http/Controllers/ServersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function index()
36 36
     {
37
-        return view('servers.list',[
37
+        return view('servers.list', [
38 38
             'servers' => $this->repository->getServersForAuth()
39 39
         ]);
40 40
     }
Please login to merge, or discard this patch.
app/Repositories/DedicatedServersRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
     public function destroy(DedicatedServer $dedicatedServer)
54 54
     {
55
-        if (! Storage::disk('local')->exists('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert)) {
55
+        if (!Storage::disk('local')->exists('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert)) {
56 56
             // TODO: Not working =(
57 57
             // Storage::disk('local')->delete('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert);
58 58
 
Please login to merge, or discard this patch.