Failed Conditions
Push — master ( dc4e55...720050 )
by Florent
19:46 queued 13:33
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.
src/Component/Server/ResponseType/NoneResponseType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/ResponseType/ResponseTypeProcessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
     private function callableForNextRule(int $index): \Closure
65 65
     {
66 66
         if (!isset($this->responseTypes[$index])) {
67
-            return function (Authorization $authorization) {
67
+            return function(Authorization $authorization) {
68 68
                 return $authorization;
69 69
             };
70 70
         }
71 71
         $responseType = $this->responseTypes[$index];
72 72
 
73
-        return function (Authorization $authorization) use ($responseType, $index): Authorization {
73
+        return function(Authorization $authorization) use ($responseType, $index): Authorization {
74 74
             return $responseType->process($authorization, $this->callableForNextRule($index + 1));
75 75
         };
76 76
     }
Please login to merge, or discard this patch.
Endpoint/Authorization/UserAccountDiscovery/UserAccountDiscoveryManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -50,13 +50,13 @@  discard block
 block discarded – undo
50 50
     private function callableForNextRule(int $index): \Closure
51 51
     {
52 52
         if (!isset($this->extensions[$index])) {
53
-            return function (ServerRequestInterface $request, Authorization $authorization): Authorization {
53
+            return function(ServerRequestInterface $request, Authorization $authorization): Authorization {
54 54
                 return $authorization;
55 55
             };
56 56
         }
57 57
         $extension = $this->extensions[$index];
58 58
 
59
-        return function (ServerRequestInterface $request, Authorization $authorization) use ($extension, $index): Authorization {
59
+        return function(ServerRequestInterface $request, Authorization $authorization) use ($extension, $index): Authorization {
60 60
             return $extension->find($request, $authorization, $this->callableForNextRule($index + 1));
61 61
         };
62 62
     }
Please login to merge, or discard this patch.
Authorization/AfterConsentScreen/SessionStateParameterExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return string
40 40
      */
41
-    abstract protected function getBrowserState(ServerRequestInterface $request, Authorization &$authorization): string;
41
+    abstract protected function getBrowserState(ServerRequestInterface $request, Authorization & $authorization): string;
42 42
 
43 43
     /**
44 44
      * @param ServerRequestInterface $request
Please login to merge, or discard this patch.
src/Component/Server/Endpoint/Authorization/AuthorizationRequestLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
      *
326 326
      * @return JWSInterface
327 327
      */
328
-    private function loadRequest(array $params, string $request, Client &$client = null): JWSInterface
328
+    private function loadRequest(array $params, string $request, Client & $client = null): JWSInterface
329 329
     {
330 330
         try {
331 331
             $jwt = $this->jwtLoader->load($request, $this->keyEncryptionKeySet, $this->requireEncryption);
Please login to merge, or discard this patch.