Passed
Push — master ( 5290a7...a491c5 )
by Terrence
30:24 queued 15:23
created
src/Provider/CILogon.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
         ];
72 72
     }
73 73
 
74
-     /**
75
-     * Returns the string that should be used to separate scopes when building
76
-     * the URL for requesting an access token.
77
-     *
78
-     * @return string Scope separator, defaults to space
79
-     */
74
+        /**
75
+         * Returns the string that should be used to separate scopes when building
76
+         * the URL for requesting an access token.
77
+         *
78
+         * @return string Scope separator, defaults to space
79
+         */
80 80
     protected function getScopeSeparator()
81 81
     {
82 82
         return ' ';
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function getBaseAuthorizationUrl()
35 35
     {
36
-        return 'https://' .
37
-            ((strlen($this->server) > 0) ? $this->server . '.' : '') .
36
+        return 'https://'.
37
+            ((strlen($this->server) > 0) ? $this->server.'.' : '').
38 38
             'cilogon.org/authorize';
39 39
     }
40 40
 
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function getBaseAccessTokenUrl(array $params)
48 48
     {
49
-        return 'https://' .
50
-            ((strlen($this->server) > 0) ? $this->server . '.' : '') .
49
+        return 'https://'.
50
+            ((strlen($this->server) > 0) ? $this->server.'.' : '').
51 51
             'cilogon.org/oauth2/token';
52 52
     }
53 53
 
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function getResourceOwnerDetailsUrl(AccessToken $token)
62 62
     {
63
-        return 'https://' .
64
-            ((strlen($this->server) > 0) ? $this->server . '.' : '') .
65
-            'cilogon.org/oauth2/userinfo?access_token=' . urlencode($token);
63
+        return 'https://'.
64
+            ((strlen($this->server) > 0) ? $this->server.'.' : '').
65
+            'cilogon.org/oauth2/userinfo?access_token='.urlencode($token);
66 66
     }
67 67
 
68 68
     /**
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             $error = true;
112 112
             $errmsg = $data['error'];
113 113
             if (!empty($data['error_description'])) {
114
-                $errmsg .= ': ' . $data['error_description'];
114
+                $errmsg .= ': '.$data['error_description'];
115 115
             }
116 116
         } elseif ($response->getStatusCode() >= 400) {
117 117
             $error = true;
Please login to merge, or discard this patch.