Failed Conditions
Pull Request — master (#20)
by Florent
07:04 queued 02:58
created
src/Bundle/Server/DependencyInjection/OAuth2FrameworkServerExtension.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param string           $path
85
-     * @param array            $sources
85
+     * @param SourceInterface[]            $sources
86 86
      * @param array            $mergedConfig
87 87
      * @param ContainerBuilder $container
88 88
      */
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * @param array            $bundleConfig
102 102
      * @param string           $path
103
-     * @param array            $sources
103
+     * @param SourceInterface[]            $sources
104 104
      * @param ContainerBuilder $container
105 105
      */
106 106
     private function prependSources(array $bundleConfig, string $path, array $sources, ContainerBuilder $container)
Please login to merge, or discard this 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/Bundle/Server/Form/FormFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param array      $options
62
-     * @param mixed|null $data
62
+     * @param Model\AuthorizationModel $data
63 63
      *
64 64
      * @return FormInterface
65 65
      */
Please login to merge, or discard this 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.
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.