Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
src/Component/Client/Behaviour/Metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     {
93 93
         return preg_replace_callback(
94 94
             '/(^|[a-z])([A-Z])/',
95
-            function ($m) { return mb_strtolower(mb_strlen($m[1], '8bit') ? sprintf('%s_%s', $m[1], $m[2]) : $m[2], '8bit'); },
95
+            function($m) { return mb_strtolower(mb_strlen($m[1], '8bit') ? sprintf('%s_%s', $m[1], $m[2]) : $m[2], '8bit'); },
96 96
             $word
97 97
         );
98 98
     }
Please login to merge, or discard this patch.
src/Component/Client/Metadata/ServerMetadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             'Invalid URL.'
70 70
         );
71 71
         Assertion::false(
72
-            false === $allow_unsecured_connection && 'https://' !==  mb_substr($url, 0, 8, '8bit'),
72
+            false === $allow_unsecured_connection && 'https://' !== mb_substr($url, 0, 8, '8bit'),
73 73
             'Unsecured connection.'
74 74
         );
75 75
 
Please login to merge, or discard this patch.
AuthenticationMethod/ClientSecretJwtTokenEndpointAuthenticationMethod.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * {@inheritdoc}
54 54
      */
55
-    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface &$request, array &$post_request)
55
+    public function prepareRequest(ServerMetadata $server_metadata, OAuth2ClientInterface $client, RequestInterface & $request, array &$post_request)
56 56
     {
57 57
         Assertion::keyExists($client->getConfiguration(), 'client_secret');
58 58
         $this->checkClientTokenEndpointAuthenticationMethod($client);
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             'iat' => time(),
80 80
             'nbf' => time(),
81 81
         ];
82
-        if (true === $server_metadata->has('issuer') ) {
82
+        if (true === $server_metadata->has('issuer')) {
83 83
             $client['aud'] = $server_metadata->get('issuer');
84 84
         }
85 85
 
Please login to merge, or discard this patch.
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.