Passed
Push — master ( f88b7c...5cb3a2 )
by meta
03:59
created
publish/app/User.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class User extends Authenticatable implements
9 9
     \Illuminate\Contracts\Auth\Authenticatable,
10
-                                              \Illuminate\Contracts\Auth\Access\Authorizable,
11
-                                              \Illuminate\Contracts\Auth\CanResetPassword,
12
-                                              \Tymon\JWTAuth\Contracts\JWTSubject
10
+                                                \Illuminate\Contracts\Auth\Access\Authorizable,
11
+                                                \Illuminate\Contracts\Auth\CanResetPassword,
12
+                                                \Tymon\JWTAuth\Contracts\JWTSubject
13 13
 {
14 14
     use Notifiable;
15 15
     use \Silber\Bouncer\Database\HasRolesAndAbilities;
Please login to merge, or discard this patch.
src/ApiAuthController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
         if (count($user->groups)) {
24 24
             // remove the users existing database roles before assigning new ones
25 25
             \DB::table('assigned_roles')
26
-               ->where('entity_id', $authUser->id)
27
-               ->where('entity_type', get_class($authUser))
28
-               ->delete();
26
+                ->where('entity_id', $authUser->id)
27
+                ->where('entity_type', get_class($authUser))
28
+                ->delete();
29 29
             // add the user to each group they are assigned
30 30
             $authUser->assign($user->groups);
31 31
         }
Please login to merge, or discard this patch.
src/WebAuthController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
         if (count($user->groups)) {
24 24
             // remove the users existing database roles before assigning new ones
25 25
             \DB::table('assigned_roles')
26
-               ->where('entity_id', $authUser->id)
27
-               ->where('entity_type', get_class($authUser))
28
-               ->delete();
26
+                ->where('entity_id', $authUser->id)
27
+                ->where('entity_type', get_class($authUser))
28
+                ->delete();
29 29
             // add the user to each group they are assigned
30 30
             $authUser->assign($user->groups);
31 31
         }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         // Check to see if there is an intended destination url saved
40 40
         $destination = $request->session()
41
-                               ->get('oauthIntendedUrl');
41
+                                ->get('oauthIntendedUrl');
42 42
         // If there is no intended destination url, use the default
43 43
         if (! $destination) {
44 44
             $destination = config('azure-oath.redirect_on_login');
Please login to merge, or discard this patch.
src/AzureActiveDirectory.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
             // Make sure the tenant is formatted like xyzcorp.onmicrosoft.com
37 37
             $regex = '/\.onmicrosoft\.com/';
38 38
             if (! preg_match($regex, $tenantName, $hits)) {
39
-                 // Append the suffix if it is missing
40
-                 $tenantName .= '.onmicrosoft.com';
39
+                    // Append the suffix if it is missing
40
+                    $tenantName .= '.onmicrosoft.com';
41 41
             }
42 42
         }
43 43
         $this->tenantName = $tenantName;
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
     public function buildOpenIdConfigUrl()
47 47
     {
48 48
         $this->openIdConfigUrl = $this->baseUrl . '/'
49
-                               . $this->tenantName . '/'
50
-                               . $this->version . '/'
51
-                               . $this->wellKnownOpenIdConfig;
49
+                                . $this->tenantName . '/'
50
+                                . $this->version . '/'
51
+                                . $this->wellKnownOpenIdConfig;
52 52
     }
53 53
 
54 54
     public function downloadOpenIdConfig()
Please login to merge, or discard this patch.