Completed
Pull Request — master (#1028)
by
unknown
13:06
created
src/Event/RequestEvent.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * RequestEvent constructor.
36 36
      *
37
-     * @param string                 $name
38 37
      * @param ServerRequestInterface $request
39 38
      */
40 39
     public function __construct(ServerRequestInterface $request)
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 
11 11
 namespace League\OAuth2\Server\Event;
12 12
 
13
-use Psr\Http\Message\ServerRequestInterface;
14
-use Psr\EventDispatcher\StoppableEventInterface;
15
-use League\OAuth2\Server\Event\ClientAuthenticationFailedEvent;
16 13
 use League\OAuth2\Server\Event\AccessTokenIssuedEvent;
17
-use League\OAuth2\Server\Event\UserAuthenticationFailedEvent;
18
-use League\OAuth2\Server\Event\RefreshTokenIssuedEvent;
14
+use League\OAuth2\Server\Event\ClientAuthenticationFailedEvent;
19 15
 use League\OAuth2\Server\Event\RefreshTokenClientFailedEvent;
16
+use League\OAuth2\Server\Event\RefreshTokenIssuedEvent;
17
+use League\OAuth2\Server\Event\UserAuthenticationFailedEvent;
18
+use Psr\EventDispatcher\StoppableEventInterface;
19
+use Psr\Http\Message\ServerRequestInterface;
20 20
 
21 21
 class RequestEvent implements StoppableEventInterface
22 22
 {
Please login to merge, or discard this patch.
src/Grant/AuthCodeGrant.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 use Exception;
15 15
 use League\OAuth2\Server\Entities\ClientEntityInterface;
16 16
 use League\OAuth2\Server\Entities\UserEntityInterface;
17
+use League\OAuth2\Server\Event\RequestEvent;
17 18
 use League\OAuth2\Server\Exception\OAuthServerException;
18 19
 use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface;
19 20
 use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
20
-use League\OAuth2\Server\Event\RequestEvent;
21 21
 use League\OAuth2\Server\RequestTypes\AuthorizationRequest;
22 22
 use League\OAuth2\Server\ResponseTypes\RedirectResponse;
23 23
 use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface;
Please login to merge, or discard this patch.
src/Grant/PasswordGrant.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 use DateInterval;
15 15
 use League\OAuth2\Server\Entities\ClientEntityInterface;
16 16
 use League\OAuth2\Server\Entities\UserEntityInterface;
17
+use League\OAuth2\Server\Event\RequestEvent;
17 18
 use League\OAuth2\Server\Exception\OAuthServerException;
18 19
 use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
19 20
 use League\OAuth2\Server\Repositories\UserRepositoryInterface;
20
-use League\OAuth2\Server\Event\RequestEvent;
21 21
 use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface;
22 22
 use Psr\Http\Message\ServerRequestInterface;
23 23
 
Please login to merge, or discard this patch.
src/Grant/RefreshTokenGrant.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use DateInterval;
15 15
 use Exception;
16
+use League\OAuth2\Server\Event\RequestEvent;
16 17
 use League\OAuth2\Server\Exception\OAuthServerException;
17 18
 use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
18
-use League\OAuth2\Server\Event\RequestEvent;
19 19
 use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface;
20 20
 use Psr\Http\Message\ServerRequestInterface;
21 21
 
Please login to merge, or discard this patch.