Passed
Push — master ( ca52c8...cf0bfa )
by Jan
12:46
created
src/Services/UserSystem/EnforceTFARedirectHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
         foreach ($roles as $role) {
87 87
             foreach ($risky_roles as $risky_role) {
88
-                if (preg_match('/'. $risky_role . '/', $role)) {
88
+                if (preg_match('/' . $risky_role . '/', $role)) {
89 89
                     return true;
90 90
                 }
91 91
             }
Please login to merge, or discard this patch.
src/EventSubscriber/UserSystem/EnforceTFAOrPasswordChangeSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     {
121 121
         foreach (static::ALLOWED_ROUTES as $route) {
122 122
             //Check for "normal" (not ea admin routes)
123
-            if ( $this->httpUtils->checkRequestPath($request, $route)) {
123
+            if ($this->httpUtils->checkRequestPath($request, $route)) {
124 124
                 return true;
125 125
             }
126 126
 
Please login to merge, or discard this patch.