Passed
Push — master ( 0e941b...0f3de7 )
by Conrad
08:36
created
src/Models/AccessToken.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace AdvancedLearning\Oauth2Server\Models;
4 4
 
5 5
 use SilverStripe\ORM\DataObject;
6
-use SilverStripe\Security\Member;
7 6
 
8 7
 /**
9 8
  * Class AccessTokenEntity
Please login to merge, or discard this patch.
src/Middleware/AuthenticationMiddleware.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use SilverStripe\Core\Application;
11 11
 use SilverStripe\Core\Injector\Injector;
12 12
 use SilverStripe\ORM\Connect\DatabaseException;
13
-use SilverStripe\ORM\DB;
14 13
 use SilverStripe\Security\Member;
15 14
 use SilverStripe\Security\Security;
16 15
 
Please login to merge, or discard this patch.
src/Controllers/AuthoriseController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Robbie\Psr7\HttpRequestAdapter;
11 11
 use Robbie\Psr7\HttpResponseAdapter;
12 12
 use SilverStripe\Control\Controller;
13
-use SilverStripe\Control\HTTP;
14 13
 use SilverStripe\Control\HTTPResponse;
15 14
 
16 15
 class AuthoriseController extends Controller
Please login to merge, or discard this patch.
tests/OAuthServerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,7 @@
 block discarded – undo
18 18
 use League\OAuth2\Server\AuthorizationServer;
19 19
 use League\OAuth2\Server\Grant\ClientCredentialsGrant;
20 20
 use League\OAuth2\Server\Grant\PasswordGrant;
21
-use Lcobucci\JWT\Claim\Factory as ClaimFactory;
22 21
 use Lcobucci\JWT\Parser;
23
-use Lcobucci\JWT\Parsing\Encoder;
24 22
 use GuzzleHttp\Psr7\Response;
25 23
 use Robbie\Psr7\HttpRequestAdapter;
26 24
 use SilverStripe\Control\HTTPApplication;
Please login to merge, or discard this patch.