Failed Conditions
Push — master ( dc4e55...720050 )
by Florent
19:46 queued 13:33
created
src/Component/Server/Response/Factory/NotImplementedResponseFactory.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)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * {@inheritdoc}
32 32
      */
33
-    public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface
33
+    public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface
34 34
     {
35 35
         return new OAuth2Error(501, $data, $response);
36 36
     }
Please login to merge, or discard this patch.
src/Component/Server/Response/Factory/BadRequestResponseFactory.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)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * {@inheritdoc}
32 32
      */
33
-    public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface
33
+    public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface
34 34
     {
35 35
         return new OAuth2Error(400, $data, $response);
36 36
     }
Please login to merge, or discard this patch.
src/Component/Server/Response/Factory/AccessDeniedResponseFactory.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)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * {@inheritdoc}
32 32
      */
33
-    public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface
33
+    public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface
34 34
     {
35 35
         return new OAuth2Error(403, $data, $response);
36 36
     }
Please login to merge, or discard this patch.
src/Component/Server/Response/Factory/ResponseFactoryInterface.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)
@@ -29,5 +29,5 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @return OAuth2ResponseInterface
31 31
      */
32
-    public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface;
32
+    public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface;
33 33
 }
Please login to merge, or discard this patch.
src/Component/Server/Response/OAuth2Exception.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)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param array           $data
28 28
      * @param \Exception|null $previous
29 29
      */
30
-    public function __construct(int $code, array $data, ?\Exception $previous = null)
30
+    public function __construct(int $code, array $data, ? \Exception $previous = null)
31 31
     {
32 32
         $this->data = $data;
33 33
         parent::__construct('', $code, $previous);
Please login to merge, or discard this patch.
TokenIntrospectionEndpointAuthMethodManager.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)
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @return null|ResourceServerId
49 49
      */
50
-    public function findResourceServerInformationInTheRequest(ServerRequestInterface $request, ?TokenIntrospectionEndpointAuthMethodInterface &$authenticationMethod, &$resourceServerCredentials = null): ?ResourceServerId
50
+    public function findResourceServerInformationInTheRequest(ServerRequestInterface $request, ? TokenIntrospectionEndpointAuthMethodInterface & $authenticationMethod, &$resourceServerCredentials = null) : ? ResourceServerId
51 51
     {
52 52
         $resourceServerId = null;
53 53
         $resourceServerCredentials = null;
Please login to merge, or discard this patch.
TokenIntrospectionEndpointAuthMethodInterface.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)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *
28 28
      * @return null|ResourceServerId Return the Resource Server public ID if found else null. If credentials have are needed to authenticate the Resource Server, they are set to the variable $resourceServerCredentials
29 29
      */
30
-    public function findResourceServerId(ServerRequestInterface $request, &$resourceServerCredentials = null): ?ResourceServerId;
30
+    public function findResourceServerId(ServerRequestInterface $request, &$resourceServerCredentials = null): ? ResourceServerId;
31 31
 
32 32
     /**
33 33
      * This method verifies the Resource Server credentials in the request.
Please login to merge, or discard this patch.
Server/TokenEndpointAuthMethod/TokenEndpointAuthMethodInterface.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)
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @return null|ClientId Return the client public ID if found else null. If credentials have are needed to authenticate the client, they are set to the variable $clientCredentials
36 36
      */
37
-    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ?ClientId;
37
+    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId;
38 38
 
39 39
     /**
40 40
      * @param DataBag $command_parameters
Please login to merge, or discard this patch.
src/Component/Server/TokenEndpointAuthMethod/ClientAssertionJwt.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)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * {@inheritdoc}
107 107
      */
108
-    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ?ClientId
108
+    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId
109 109
     {
110 110
         $parameters = $request->getParsedBody() ?? [];
111 111
         if (!array_key_exists('client_assertion_type', $parameters)) {
Please login to merge, or discard this patch.