Passed
Push — develop ( 4cc33e...7d04c7 )
by nguereza
02:48
created
src/Http/Middleware/SecurityPolicyMiddleware.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      */
184 184
     protected function shouldBeProcessed(ServerRequestInterface $request): bool
185 185
     {
186
-       //If no route has been match no need check for CSRF
186
+        //If no route has been match no need check for CSRF
187 187
         /** @var ?Route $route */
188 188
         $route = $request->getAttribute(Route::class);
189 189
         if (!$route) {
Please login to merge, or discard this patch.
src/Security/SecurityPolicy.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             return [];
151 151
         }
152 152
 
153
-         $policy = new FeaturePermissionPolicy($config);
153
+            $policy = new FeaturePermissionPolicy($config);
154 154
 
155 155
         return ['Permissions-Policy' => $policy->headers()];
156 156
     }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             return [];
168 168
         }
169 169
 
170
-         $policy = new StrictTransportSecurityPolicy($config);
170
+            $policy = new StrictTransportSecurityPolicy($config);
171 171
 
172 172
         return ['Strict-Transport-Security' => $policy->headers()];
173 173
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
             return [];
186 186
         }
187 187
 
188
-         $policy = new ClearSiteDataPolicy($config);
188
+            $policy = new ClearSiteDataPolicy($config);
189 189
 
190 190
         return ['Clear-Site-Data' => $policy->headers()];
191 191
     }
Please login to merge, or discard this patch.