Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
AuthenticationMethod/PrivateKeyJwtTokenEndpointAuthenticationMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * {@inheritdoc}
21 21
      */
22
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request)
22
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request)
23 23
     {
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
Client/AuthenticationMethod/TokenEndpointAuthenticationMethodInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
      *
22 22
      * @return mixed
23 23
      */
24
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request);
24
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request);
25 25
 }
Please login to merge, or discard this patch.
AuthenticationMethod/ClientSecretBasicTokenEndpointAuthenticationMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * {@inheritdoc}
22 22
      */
23
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request)
23
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request)
24 24
     {
25 25
         Assertion::keyExists($client->getConfiguration(), 'client_secret');
26 26
         $this->checkClientTokenEndpointAuthenticationMethod($client);
Please login to merge, or discard this patch.
Client/AuthenticationMethod/NoneTokenEndpointAuthenticationMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * {@inheritdoc}
21 21
      */
22
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request)
22
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request)
23 23
     {
24 24
         $this->checkClientTokenEndpointAuthenticationMethod($client);
25 25
         
Please login to merge, or discard this patch.
AuthenticationMethod/ClientSecretPostTokenEndpointAuthenticationMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * {@inheritdoc}
22 22
      */
23
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request)
23
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request)
24 24
     {
25 25
         Assertion::keyExists($client->getConfiguration(), 'client_secret');
26 26
         $this->checkClientTokenEndpointAuthenticationMethod($client);
Please login to merge, or discard this patch.
src/Component/Client/Grant/ResourceOwnerPasswordCredentialsGrantType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         Assertion::keyExists($additional_parameters, 'username');
15 15
         Assertion::keyExists($additional_parameters, 'password');
16 16
         return array_merge(
17
-            ['grant_type' => 'password',],
17
+            ['grant_type' => 'password', ],
18 18
             $additional_parameters
19 19
         );
20 20
     }
Please login to merge, or discard this patch.
src/Component/Client/Grant/ClientCredentialsGrantType.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 process(OAuth2ClientInterface $client, ResponseModeInterface $response_mode)
14 14
     {
15 15
         return array_merge(
16
-            ['grant_type' => 'client_credentials',],
16
+            ['grant_type' => 'client_credentials', ],
17 17
             $additional_parameters
18 18
         );
19 19
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public function getPostRequestParameters(array $additional_parameters)
25 25
     {
26 26
         return array_merge(
27
-            ['grant_type' => 'client_credentials',],
27
+            ['grant_type' => 'client_credentials', ],
28 28
             $additional_parameters
29 29
         );
30 30
     }
Please login to merge, or discard this patch.
src/Component/Client/Grant/RefreshTokenGrantType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         Assertion::keyExists($additional_parameters, 'refresh_token');
15 15
         return array_merge(
16
-            ['grant_type' => 'refresh_token',],
16
+            ['grant_type' => 'refresh_token', ],
17 17
             $additional_parameters
18 18
         );
19 19
     }
Please login to merge, or discard this patch.
src/Component/Client/Grant/AuthorizationCodeGrantType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         Assertion::keyExists($additional_parameters, 'code');
15 15
         return array_merge(
16
-            ['grant_type' => 'authorization_code',],
16
+            ['grant_type' => 'authorization_code', ],
17 17
             $additional_parameters
18 18
         );
19 19
     }
Please login to merge, or discard this patch.