Failed Conditions
Pull Request — ng (#68)
by Florent
23:16 queued 19:02
created
src/Bundle/Server/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\Server\SecurityPlugin\Security\Authentication\Token\OAuth2Token;
17 17
 use OAuth2Framework\Component\Server\Model\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
 final class AccessTokenResolver implements ArgumentValueResolverInterface
Please login to merge, or discard this patch.
Bundle/Server/DependencyInjection/Source/Scope/ScopePolicyDefaultSource.php 1 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 Fluent\PhpConfigFileLoader;
17 17
 use OAuth2Framework\Bundle\Server\DependencyInjection\Source\ActionableSource;
18
-use Symfony\Component\Config\FileLocator;
19 18
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19
+use Symfony\Component\Config\FileLocator;
20 20
 use Symfony\Component\DependencyInjection\ContainerBuilder;
21 21
 
22 22
 final class ScopePolicyDefaultSource extends ActionableSource
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Scope/ScopePolicySource.php 1 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 Fluent\PhpConfigFileLoader;
17 17
 use OAuth2Framework\Bundle\Server\DependencyInjection\Source\ActionableSource;
18
-use Symfony\Component\Config\FileLocator;
19 18
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19
+use Symfony\Component\Config\FileLocator;
20 20
 use Symfony\Component\DependencyInjection\ContainerBuilder;
21 21
 
22 22
 final class ScopePolicySource extends ActionableSource
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Scope/ScopeSource.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 Fluent\PhpConfigFileLoader;
17 17
 use OAuth2Framework\Bundle\Server\DependencyInjection\Source\ActionableSource;
18 18
 use OAuth2Framework\Component\Server\Model\Scope\ScopeRepositoryInterface;
19
-use Symfony\Component\Config\FileLocator;
20 19
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
20
+use Symfony\Component\Config\FileLocator;
21 21
 use Symfony\Component\DependencyInjection\ContainerBuilder;
22 22
 
23 23
 final class ScopeSource extends ActionableSource
Please login to merge, or discard this patch.
src/Bundle/Server/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\Server\Security\Authentication\Provider\OAuth2Provider;
17 17
 use OAuth2Framework\Bundle\Server\Security\EntryPoint\OAuth2EntryPoint;
18 18
 use OAuth2Framework\Bundle\Server\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
 final class OAuth2SecurityFactory implements SecurityFactoryInterface
Please login to merge, or discard this patch.
Server/DependencyInjection/Source/Grant/JwtBearerEncryptionSource.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Bundle\Server\DependencyInjection\Source\Grant;
15 15
 
16
-use Jose\Bundle\JoseFramework\Helper\ConfigurationHelper;
17 16
 use OAuth2Framework\Bundle\Server\DependencyInjection\Source\ActionableSource;
18 17
 use Symfony\Component\Config\Definition\Builder\NodeDefinition;
19 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
Please login to merge, or discard this patch.
src/Component/Server/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\Server\AuthorizationCodeGrant;
15 15
 
16 16
 use OAuth2Framework\Component\Server\AuthorizationCodeGrant\PKCEMethod\PKCEMethodManager;
17
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
18 17
 use OAuth2Framework\Component\Server\Core\Client\Client;
19 18
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
20 19
 use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
20
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
21 21
 use Psr\Http\Message\ServerRequestInterface;
22 22
 
23 23
 final class AuthorizationCodeGrantType implements GrantType
Please login to merge, or discard this patch.
src/Component/Server/AuthorizationEndpoint/AuthorizationEndpoint.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\AuthorizationEndpoint;
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\AuthorizationEndpoint\AfterConsentScreen\AfterConsentScreenManager;
19 19
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\BeforeConsentScreen\BeforeConsentScreenManager;
20 20
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\UserAccountDiscovery\UserAccountDiscoveryManager;
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.