Passed
Push — master ( 270226...e22eb7 )
by James
06:04 queued 11s
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
     protected function mapApiRoutes(): void
75 75
     {
76 76
         Route::prefix('api')
77
-             ->middleware('api')
78
-             ->namespace($this->namespace)
79
-             ->group(base_path('routes/api.php'));
77
+                ->middleware('api')
78
+                ->namespace($this->namespace)
79
+                ->group(base_path('routes/api.php'));
80 80
     }
81 81
 
82 82
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     protected function mapWebRoutes(): void
90 90
     {
91 91
         Route::middleware('web')
92
-             ->namespace($this->namespace)
93
-             ->group(base_path('routes/web.php'));
92
+                ->namespace($this->namespace)
93
+                ->group(base_path('routes/web.php'));
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Import/DownloadController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@
 block discarded – undo
44 44
         $response = response($result);
45 45
         $name     = sprintf('import_config_%s.json', date('Y-m-d'));
46 46
         $response->header('Content-disposition', 'attachment; filename=' . $name)
47
-                 ->header('Content-Type', 'application/json')
48
-                 ->header('Content-Description', 'File Transfer')
49
-                 ->header('Connection', 'Keep-Alive')
50
-                 ->header('Expires', '0')
51
-                 ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
52
-                 ->header('Pragma', 'public')
53
-                 ->header('Content-Length', strlen($result));
47
+                    ->header('Content-Type', 'application/json')
48
+                    ->header('Content-Description', 'File Transfer')
49
+                    ->header('Connection', 'Keep-Alive')
50
+                    ->header('Expires', '0')
51
+                    ->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
52
+                    ->header('Pragma', 'public')
53
+                    ->header('Content-Length', strlen($result));
54 54
 
55 55
         return $response;
56 56
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,10 +91,10 @@
 block discarded – undo
91 91
     {
92 92
         return Validator::make(
93 93
             $data, [
94
-                     'name'     => ['required', 'string', 'max:255'],
95
-                     'email'    => ['required', 'string', 'email', 'max:255', 'unique:users'],
96
-                     'password' => ['required', 'string', 'min:8', 'confirmed'],
97
-                 ]
94
+                        'name'     => ['required', 'string', 'max:255'],
95
+                        'email'    => ['required', 'string', 'email', 'max:255', 'unique:users'],
96
+                        'password' => ['required', 'string', 'min:8', 'confirmed'],
97
+                    ]
98 98
         );
99 99
     }
100 100
 }
Please login to merge, or discard this patch.
app/Services/FireflyIIIApi/Request/Request.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -202,12 +202,12 @@
 block discarded – undo
202 202
         $client = $this->getClient();
203 203
         $res    = $client->request(
204 204
             'GET', $fullUri, [
205
-                     'headers' => [
206
-                         'Accept'        => 'application/json',
207
-                         'Authorization' => sprintf('Bearer %s', $this->getToken()),
208
-                     ],
209
-                     'verify'  => resource_path('certs/ca.cert.pem'),
210
-                 ]
205
+                        'headers' => [
206
+                            'Accept'        => 'application/json',
207
+                            'Authorization' => sprintf('Bearer %s', $this->getToken()),
208
+                        ],
209
+                        'verify'  => resource_path('certs/ca.cert.pem'),
210
+                    ]
211 211
         );
212 212
 
213 213
         if (200 !== $res->getStatusCode()) {
Please login to merge, or discard this patch.