Failed Conditions
Push — ng ( ca946d...fcb055 )
by Florent
10:43
created
src/Bundle/OAuth2FrameworkBundle.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use OAuth2Framework\Bundle\DependencyInjection\Component;
17 17
 use OAuth2Framework\Bundle\DependencyInjection\OAuth2FrameworkExtension;
18
-use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
19 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
20 19
 use Symfony\Component\HttpKernel\Bundle\Bundle;
21 20
 
Please login to merge, or discard this patch.
src/Component/RefreshTokenGrant/RefreshTokenRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @param RefreshToken $refreshToken
24
+     * @return void
24 25
      */
25 26
     public function save(RefreshToken $refreshToken);
26 27
 
Please login to merge, or discard this patch.
Component/ClientAuthentication/ClientSecretBasicSource.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Bundle\DependencyInjection\Component\ClientAuthentication;
15 15
 
16 16
 use OAuth2Framework\Bundle\DependencyInjection\Component\Component;
17
-use OAuth2Framework\Component\TokenEndpoint\AuthenticationMethod\AuthenticationMethod;
18 17
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19 18
 use Symfony\Component\Config\FileLocator;
20 19
 use Symfony\Component\DependencyInjection\ContainerBuilder;
Please login to merge, or discard this patch.
Bundle/DependencyInjection/Component/ClientAuthentication/NoneSource.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Bundle\DependencyInjection\Component\ClientAuthentication;
15 15
 
16 16
 use OAuth2Framework\Bundle\DependencyInjection\Component\Component;
17
-use OAuth2Framework\Component\TokenEndpoint\AuthenticationMethod\AuthenticationMethod;
18 17
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19 18
 use Symfony\Component\Config\FileLocator;
20 19
 use Symfony\Component\DependencyInjection\ContainerBuilder;
Please login to merge, or discard this patch.
src/Bundle/DependencyInjection/Component/Endpoint/EndpointSource.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 use OAuth2Framework\Bundle\DependencyInjection\Component\Component;
17 17
 use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\ClientConfiguration\ClientConfigurationSource;
18 18
 use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\ClientRegistration\ClientRegistrationSource;
19
-use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\Token\TokenEndpointSource;
20 19
 use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\TokenIntrospection\TokenIntrospectionEndpointSource;
21 20
 use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\TokenRevocation\TokenRevocationEndpointSource;
21
+use OAuth2Framework\Bundle\DependencyInjection\Component\Endpoint\Token\TokenEndpointSource;
22 22
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
23 23
 use Symfony\Component\DependencyInjection\ContainerBuilder;
24 24
 
Please login to merge, or discard this patch.
src/Bundle/DependencyInjection/Component/Grant/GrantSource.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,6 @@
 block discarded – undo
17 17
 use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\AuthorizationCode\AuthorizationCodeSource;
18 18
 use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\ClientCredentials\ClientCredentialsSource;
19 19
 use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\Implicit\ImplicitSource;
20
-use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\JwtBearer\JwtBearerSource;
21
-use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\None\NoneSource;
22 20
 use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\RefreshToken\RefreshTokenSource;
23 21
 use OAuth2Framework\Bundle\DependencyInjection\Component\Grant\ResourceOwnerPasswordCredential\ResourceOwnerPasswordCredentialSource;
24 22
 use OAuth2Framework\Component\AuthorizationEndpoint\ResponseType;
Please login to merge, or discard this patch.
src/Bundle/Resolver/AccessTokenResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use OAuth2Framework\Bundle\Security\Authentication\Token\OAuth2Token;
17 17
 use OAuth2Framework\Component\Core\AccessToken\AccessToken;
18 18
 use Symfony\Component\HttpFoundation\Request;
19
-use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
20 19
 use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
20
+use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
21 21
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
22 22
 
23 23
 class AccessTokenResolver implements ArgumentValueResolverInterface
Please login to merge, or discard this patch.
src/Bundle/Security/Factory/OAuth2SecurityFactory.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 use OAuth2Framework\Bundle\Security\Authentication\Provider\OAuth2Provider;
17 17
 use OAuth2Framework\Bundle\Security\EntryPoint\OAuth2EntryPoint;
18 18
 use OAuth2Framework\Bundle\Security\Firewall\OAuth2Listener;
19
+use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface;
20
+use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19 21
 use Symfony\Component\DependencyInjection\ChildDefinition;
20 22
 use Symfony\Component\DependencyInjection\ContainerBuilder;
21 23
 use Symfony\Component\DependencyInjection\Reference;
22
-use Symfony\Component\Config\Definition\Builder\NodeDefinition;
23
-use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface;
24 24
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
25 25
 
26 26
 class OAuth2SecurityFactory implements SecurityFactoryInterface
Please login to merge, or discard this patch.
src/Component/AuthorizationCodeGrant/AuthorizationCodeGrantType.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
 namespace OAuth2Framework\Component\AuthorizationCodeGrant;
15 15
 
16 16
 use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\PKCEMethodManager;
17
-use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
18 17
 use OAuth2Framework\Component\Core\Client\Client;
19 18
 use OAuth2Framework\Component\Core\Exception\OAuth2Exception;
20 19
 use OAuth2Framework\Component\TokenEndpoint\GrantType;
20
+use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
21 21
 use Psr\Http\Message\ServerRequestInterface;
22 22
 
23 23
 class AuthorizationCodeGrantType implements GrantType
Please login to merge, or discard this patch.