Failed Conditions
Pull Request — master (#147)
by Florent
14:53 queued 10:09
created
Component/TokenRevocationEndpoint/Tests/TokenRevocationPostEndpointTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,6 @@  discard block
 block discarded – undo
15 15
 
16 16
 use Http\Message\MessageFactory\DiactorosMessageFactory;
17 17
 use Http\Message\ResponseFactory;
18
-use Prophecy\Prophecy\ObjectProphecy;
19
-use Psr\Http\Message\StreamInterface;
20
-use Psr\Http\Server\RequestHandlerInterface;
21 18
 use OAuth2Framework\Component\Core\Client\Client;
22 19
 use OAuth2Framework\Component\Core\Client\ClientId;
23 20
 use OAuth2Framework\Component\Core\DataBag\DataBag;
@@ -27,7 +24,10 @@  discard block
 block discarded – undo
27 24
 use OAuth2Framework\Component\TokenRevocationEndpoint\TokenTypeHint;
28 25
 use OAuth2Framework\Component\TokenRevocationEndpoint\TokenTypeHintManager;
29 26
 use PHPUnit\Framework\TestCase;
27
+use Prophecy\Prophecy\ObjectProphecy;
30 28
 use Psr\Http\Message\ServerRequestInterface;
29
+use Psr\Http\Message\StreamInterface;
30
+use Psr\Http\Server\RequestHandlerInterface;
31 31
 
32 32
 /**
33 33
  * @group TokenRevocationEndpoint
Please login to merge, or discard this patch.
src/Component/OpenIdConnect/IdTokenBuilder.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -155,6 +155,10 @@
 block discarded – undo
155 155
         $this->authorizationCodeRepository = $authorizationCodeRepository;
156 156
     }
157 157
 
158
+    /**
159
+     * @param null|JKUFactory $jkuFactory
160
+     * @param null|AuthorizationCodeRepository $authorizationCodeRepository
161
+     */
158 162
     public static function create(string $issuer, UserInfo $userinfo, int $lifetime, Client $client, UserAccount $userAccount, string $redirectUri, ?JKUFactory $jkuFactory, ?AuthorizationCodeRepository $authorizationCodeRepository): self
159 163
     {
160 164
         return new self($issuer, $userinfo, $lifetime, $client, $userAccount, $redirectUri, $jkuFactory, $authorizationCodeRepository);
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
 use Jose\Component\Core\JWK;
19 19
 use Jose\Component\Core\JWKSet;
20 20
 use Jose\Component\Encryption\JWEBuilder;
21
+use Jose\Component\Encryption\Serializer\CompactSerializer as JweCompactSerializer;
21 22
 use Jose\Component\KeyManagement\JKUFactory;
22 23
 use Jose\Component\Signature\JWSBuilder;
23 24
 use Jose\Component\Signature\Serializer\CompactSerializer as JwsCompactSerializer;
24
-use Jose\Component\Encryption\Serializer\CompactSerializer as JweCompactSerializer;
25 25
 use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeId;
26 26
 use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeRepository;
27 27
 use OAuth2Framework\Component\Core\AccessToken\AccessToken;
Please login to merge, or discard this patch.