Passed
Push — develop ( 9a15d7...d6a067 )
by Nikita
06:03
created
app/Providers/RouteServiceProvider.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         Route::prefix('api')
74 74
             ->middleware('api')
75 75
             ->as('api.')
76
-            ->namespace($this->namespace."\\API")
76
+            ->namespace($this->namespace . "\\API")
77 77
             ->group(base_path('routes/api.php'));
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
app/Http/Controllers/GdaemonAPI/TasksController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function index(DedicatedServer $dedicatedServer)
38 38
     {
39
-        return QueryBuilder::for(GdaemonTask::where('dedicated_server_id', $dedicatedServer->id))
39
+        return QueryBuilder::for (GdaemonTask::where('dedicated_server_id', $dedicatedServer->id))
40 40
             ->allowedFilters('status')
41 41
             ->allowedAppends('status_num')
42 42
             ->get();
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,10 +36,11 @@
 block discarded – undo
36 36
      */
37 37
     public function index(DedicatedServer $dedicatedServer)
38 38
     {
39
-        return QueryBuilder::for(GdaemonTask::where('dedicated_server_id', $dedicatedServer->id))
40
-            ->allowedFilters('status')
39
+        return QueryBuilder::for(GdaemonTask::where('dedicated_server_id', $dedicatedServer->id)) {
40
+                    ->allowedFilters('status')
41 41
             ->allowedAppends('status_num')
42 42
             ->get();
43
+        }
43 44
     }
44 45
 
45 46
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/GdaemonTasksController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function index()
35 35
     {
36
-        return view('admin.gdaemon_tasks.list',[
36
+        return view('admin.gdaemon_tasks.list', [
37 37
             'gdaemonTasks' => $this->repository->getAll()
38 38
         ]);
39 39
     }
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     protected function commands()
37 37
     {
38
-        $this->load(__DIR__.'/Commands');
38
+        $this->load(__DIR__ . '/Commands');
39 39
 
40 40
         require base_path('routes/console.php');
41 41
     }
Please login to merge, or discard this patch.
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/ServersController.php 2 patches
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.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
      *
46 46
      * @param  \Gameap\Models\Server  $server
47 47
      * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
48
-
49 48
      * @throws \Illuminate\Auth\Access\AuthorizationException
50 49
      */
51 50
     public function show(Server $server)
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ServersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function index()
38 38
     {
39
-        return view('admin.servers.list',[
39
+        return view('admin.servers.list', [
40 40
             'servers' => $this->repository->getAll()
41 41
         ]);
42 42
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UsersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 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
     }
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function index()
28 28
     {
29
-        $latestVersion = Cache::remember('latestVersion', 3600, function () {
29
+        $latestVersion = Cache::remember('latestVersion', 3600, function() {
30 30
             return InfoService::latestRelease();
31 31
         });
32 32
         
Please login to merge, or discard this patch.