Failed Conditions
Push — ng ( 7370de...a36c25 )
by Florent
19:12
created
ParameterChecker/ResponseTypeAndResponseModeParameterChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param array  $types
106
+     * @param ResponseType[]  $types
107 107
      * @param string $responseType
108 108
      *
109 109
      * @return string
Please login to merge, or discard this patch.
Server/AuthorizationEndpoint/ParameterChecker/ScopeParameterChecker.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Component\Server\AuthorizationEndpoint\ParameterChecker;
15 15
 
16 16
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\Authorization;
17
+use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
17 18
 use OAuth2Framework\Component\Server\Core\Scope\ScopePolicyManager;
18 19
 use OAuth2Framework\Component\Server\Core\Scope\ScopeRepository;
19
-use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
20 20
 
21 21
 final class ScopeParameterChecker implements ParameterChecker
22 22
 {
Please login to merge, or discard this patch.
src/Component/Server/Core/AccessToken/AccessToken.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
 use OAuth2Framework\Component\Server\Core\AccessToken\Event as AccessTokenEvent;
17 17
 use OAuth2Framework\Component\Server\Core\Client\ClientId;
18 18
 use OAuth2Framework\Component\Server\Core\DataBag\DataBag;
19
+use OAuth2Framework\Component\Server\Core\DomainObject;
19 20
 use OAuth2Framework\Component\Server\Core\Event\Event;
20 21
 use OAuth2Framework\Component\Server\Core\ResourceOwner\ResourceOwnerId;
21 22
 use OAuth2Framework\Component\Server\Core\ResourceServer\ResourceServerId;
22 23
 use OAuth2Framework\Component\Server\Core\Token\Token;
23 24
 use OAuth2Framework\Component\Server\Core\Token\TokenId;
24
-use OAuth2Framework\Component\Server\Core\DomainObject;
25 25
 
26 26
 final class AccessToken extends Token
27 27
 {
Please login to merge, or discard this patch.
src/Component/Server/Core/Client/Rule/Rule.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * @param ClientId           $clientId
23 23
      * @param DataBag            $commandParameters
24 24
      * @param DataBag            $validatedParameters
25
-     * @param UserAccountId|null $userAccountId
26 25
      * @param callable           $next
27 26
      *
28 27
      * @return DataBag
Please login to merge, or discard this patch.
src/Component/Server/ImplicitGrant/ImplicitGrantType.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\Server\ImplicitGrant;
15 15
 
16
-use OAuth2Framework\Component\Server\AuthorizationEndpoint\ResponseType;
17 16
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\Authorization;
18
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
19
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
17
+use OAuth2Framework\Component\Server\AuthorizationEndpoint\ResponseType;
20 18
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenRepository;
21 19
 use OAuth2Framework\Component\Server\Core\DataBag\DataBag;
22 20
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
21
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
22
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
23 23
 use Psr\Http\Message\ServerRequestInterface;
24 24
 
25 25
 final class ImplicitGrantType implements ResponseType, GrantType
Please login to merge, or discard this patch.
src/Component/Server/IssuerDiscoveryEndpoint/IssuerDiscoveryEndpoint.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * @param ResourceId $resourceName
102
-     * @param resource   $resource
102
+     * @param Resource   $resource
103 103
      *
104 104
      * @return array
105 105
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use Interop\Http\Factory\ResponseFactoryInterface;
17 17
 use Interop\Http\Factory\UriFactoryInterface;
18
-use Interop\Http\Server\RequestHandlerInterface;
19 18
 use Interop\Http\Server\MiddlewareInterface;
19
+use Interop\Http\Server\RequestHandlerInterface;
20 20
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
21 21
 use Psr\Http\Message\ResponseInterface;
22 22
 use Psr\Http\Message\ServerRequestInterface;
Please login to merge, or discard this patch.
src/Component/Server/Middleware/OAuth2SecurityMiddleware.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\Server\Middleware;
15 15
 
16
-use Interop\Http\Server\RequestHandlerInterface;
17 16
 use Interop\Http\Server\MiddlewareInterface;
17
+use Interop\Http\Server\RequestHandlerInterface;
18 18
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessToken;
19 19
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenHandlerManager;
20 20
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenId;
Please login to merge, or discard this patch.
src/Component/Server/Middleware/ResourceServerAuthenticationMiddleware.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\Server\Middleware;
15 15
 
16
-use Interop\Http\Server\RequestHandlerInterface;
17 16
 use Interop\Http\Server\MiddlewareInterface;
17
+use Interop\Http\Server\RequestHandlerInterface;
18 18
 use OAuth2Framework\Component\Server\Core\ResourceServer\ResourceServerRepository;
19 19
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
20 20
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/Component/Server/OpenIdConnect/IdTokenBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
 use Jose\Component\Core\JWK;
18 18
 use Jose\Component\Core\JWKSet;
19 19
 use Jose\Component\Encryption\JWEBuilder;
20
+use Jose\Component\Encryption\Serializer\CompactSerializer as JweCompactSerializer;
20 21
 use Jose\Component\Signature\JWSBuilder;
21 22
 use Jose\Component\Signature\Serializer\CompactSerializer as JwsCompactSerializer;
22
-use Jose\Component\Encryption\Serializer\CompactSerializer as JweCompactSerializer;
23 23
 use OAuth2Framework\Component\Server\AuthorizationCodeGrant\AuthorizationCodeId;
24 24
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessToken;
25 25
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenId;
Please login to merge, or discard this patch.