Passed
Push — master ( 54115d...67a0b3 )
by meta
02:30
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/AzureActiveDirectory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 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.
src/Controller/AuthController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
         $graph = new \Microsoft\Graph\Graph();
40 40
         $graph->setAccessToken($accessToken);
41 41
         $user = $graph->createRequest("GET", "/me")
42
-                      ->setReturnType(\Microsoft\Graph\Model\User::class)
43
-                      ->execute();
42
+                        ->setReturnType(\Microsoft\Graph\Model\User::class)
43
+                        ->execute();
44 44
 
45 45
         return $user->jsonSerialize();
46 46
     }
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
         if (count($groups)) {
132 132
             // remove the users existing database roles before assigning new ones
133 133
             \DB::table('assigned_roles')
134
-               ->where('entity_id', $user->id)
135
-               ->where('entity_type', get_class($user))
136
-               ->delete();
134
+                ->where('entity_id', $user->id)
135
+                ->where('entity_type', get_class($user))
136
+                ->delete();
137 137
             // add the user to each group they are assigned
138 138
             $user->assign($groups);
139 139
         }
Please login to merge, or discard this patch.
src/Controller/WebAuthController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     public function buildAuthUrl()
40 40
     {
41 41
         $url = $this->azureActiveDirectory->authorizationEndpoint
42
-             . '?'
43
-             . $this->buildAuthUrlQueryString();
42
+                . '?'
43
+                . $this->buildAuthUrlQueryString();
44 44
 
45 45
         return $url;
46 46
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         // Check to see if there is an intended destination url saved
72 72
         $destination = $request->session()
73
-                               ->get('oauthIntendedUrl');
73
+                                ->get('oauthIntendedUrl');
74 74
         // If there is no intended destination url, use the default
75 75
         if (! $destination) {
76 76
             $destination = config('enterpriseauth.redirect_on_login');
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                 'client_secret' => env('AZURE_AD_CLIENT_SECRET'),
97 97
                 'redirect_uri'  => ENV('AZURE_AD_CALLBACK_URL'),
98 98
                 'grant_type'    => 'authorization_code',
99
-             ]
99
+                ]
100 100
         ];
101 101
         $response = $guzzle->post($url, $parameters);
102 102
         $responseObject = json_decode($response->getBody());
Please login to merge, or discard this patch.