Passed
Push — master ( 5cb3a2...be33a7 )
by meta
06:31 queued 03:53
created
src/GraphAPI.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     public function __construct($azureActiveDirectory)
14 14
     {
15 15
         // IF they didnt pre-populate all our AAD stuff then make a new one for the common tenant
16
-        if (! $azureActiveDirectory) {
16
+        if (!$azureActiveDirectory) {
17 17
             $azureActiveDirectory = new AzureActiveDirectory();
18 18
         }
19 19
         $this->azureActiveDirectory = $azureActiveDirectory;
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     protected function getAccessToken()
29 29
     {
30
-        if (! $this->accessToken) {
30
+        if (!$this->accessToken) {
31 31
             $this->authenticateAsApplication();
32 32
         }
33 33
 
Please login to merge, or discard this patch.
src/AzureActiveDirectory.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         if ($tenantName != 'common') {
36 36
             // Make sure the tenant is formatted like xyzcorp.onmicrosoft.com
37 37
             $regex = '/\.onmicrosoft\.com/';
38
-            if (! preg_match($regex, $tenantName, $hits)) {
38
+            if (!preg_match($regex, $tenantName, $hits)) {
39 39
                 // Append the suffix if it is missing
40 40
                 $tenantName .= '.onmicrosoft.com';
41 41
             }
Please login to merge, or discard this patch.