Passed
Push — master ( af59f2...c344e1 )
by Alexandre
02:20
created
src/OAuth2/ScopePolicy/ScopePolicyManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             $supportedScopes = explode(' ', $client->getMetadata()->getScope());
60 60
             if (!empty(array_diff($scopes, $supportedScopes))) {
61 61
                 throw new OAuthException('invalid_scope',
62
-                    'The request scope is invalid. Supported scopes : ' . $client->getMetadata()->getScope(),
62
+                    'The request scope is invalid. Supported scopes : '.$client->getMetadata()->getScope(),
63 63
                     'https://tools.ietf.org/html/rfc6749#section-4.1');
64 64
             }
65 65
         }
Please login to merge, or discard this patch.
src/OAuth2/Endpoints/AuthorizationEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
 
231 231
             $this->redirectUri = $redirectUri;
232 232
         } catch (\InvalidArgumentException $e) {
233
-            throw new OAuthException('invalid_request', 'The request includes the malformed parameter redirect_uri. ' . $e->getMessage(),
233
+            throw new OAuthException('invalid_request', 'The request includes the malformed parameter redirect_uri. '.$e->getMessage(),
234 234
                 'https://tools.ietf.org/html/rfc6749#section-4.1');
235 235
         }
236 236
     }
Please login to merge, or discard this patch.