Failed Conditions
Push — ng ( ada769...ebc492 )
by Florent
08:29 queued 40s
created
src/Component/Server/TokenEndpoint/ClientAuthenticationMiddleware.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\TokenEndpoint;
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\Client\ClientRepository;
19 19
 use OAuth2Framework\Component\Server\TokenEndpoint\AuthenticationMethod\AuthenticationMethodManager;
20 20
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/Component/Server/TokenEndpoint/Processor/ProcessorManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     /**
57 57
      * @param int $index
58 58
      *
59
-     * @return callable
59
+     * @return \Closure
60 60
      */
61 61
     private function resolve(int $index): callable
62 62
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Component\Server\TokenEndpoint\Processor;
15 15
 
16 16
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
17
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
18 17
 use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
18
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
19 19
 use Psr\Http\Message\ServerRequestInterface;
20 20
 
21 21
 final class ProcessorManager
Please login to merge, or discard this patch.
src/Component/Server/TokenEndpoint/TokenEndpoint.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Component\Server\TokenEndpoint;
15 15
 
16 16
 use Http\Message\ResponseFactory;
17
-use Interop\Http\Server\RequestHandlerInterface;
18 17
 use Interop\Http\Server\MiddlewareInterface;
19
-use OAuth2Framework\Component\Server\TokenEndpoint\Processor\ProcessorManager;
18
+use Interop\Http\Server\RequestHandlerInterface;
20 19
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessToken;
21 20
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenRepository;
22 21
 use OAuth2Framework\Component\Server\Core\Client\ClientId;
23 22
 use OAuth2Framework\Component\Server\Core\Client\ClientRepository;
24
-use OAuth2Framework\Component\Server\RefreshTokenGrant\RefreshTokenRepository;
25
-use OAuth2Framework\Component\Server\Core\ResourceOwner\ResourceOwnerId;
26 23
 use OAuth2Framework\Component\Server\Core\ResourceOwner\ResourceOwner;
24
+use OAuth2Framework\Component\Server\Core\ResourceOwner\ResourceOwnerId;
25
+use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
27 26
 use OAuth2Framework\Component\Server\Core\UserAccount\UserAccountId;
28 27
 use OAuth2Framework\Component\Server\Core\UserAccount\UserAccountRepository;
29
-use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
28
+use OAuth2Framework\Component\Server\RefreshTokenGrant\RefreshTokenRepository;
29
+use OAuth2Framework\Component\Server\TokenEndpoint\Processor\ProcessorManager;
30 30
 use Psr\Http\Message\ResponseInterface;
31 31
 use Psr\Http\Message\ServerRequestInterface;
32 32
 
Please login to merge, or discard this patch.
TokenIntrospectionEndpoint/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\TokenIntrospectionEndpoint;
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.