File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
ExpressionFunction/Security Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 2828 - ' highest'
2929 remove-dependencies : [ '' ]
3030 coverage : [ 'none' ]
31+ exclude :
32+ - php-version : ' 8.0'
33+ symfony-version : ' 6.2.*'
3134 include :
3235 - php-version : ' 8.0'
3336 symfony-version : ' 5.4.*'
Original file line number Diff line number Diff line change 55namespace Overblog \GraphQLBundle \Security ;
66
77use LogicException ;
8+ use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
89use Symfony \Component \HttpKernel \Kernel ;
910use Symfony \Component \Security \Core \Security as CoreSecurity ;
1011use Symfony \Component \Security \Core \User \UserInterface ;
11- use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
1212
1313use function array_reduce ;
1414
@@ -40,7 +40,7 @@ abstract class BaseSecurity
4040 public function __construct ($ security )
4141 {
4242 // @phpstan-ignore-next-line
43- $ this ->coreSecurity = $ security ?? new class () {
43+ $ this ->coreSecurity = $ security ?? new class () {
4444 public function isGranted (): bool
4545 {
4646 throw new LogicException ('The "symfony/security-core" component is required. ' );
Original file line number Diff line number Diff line change 88use Overblog \GraphQLBundle \Generator \TypeGenerator ;
99use Overblog \GraphQLBundle \Security \Security ;
1010use Overblog \GraphQLBundle \Tests \ExpressionLanguage \TestCase ;
11+ use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
12+ use Symfony \Component \HttpKernel \Kernel ;
1113use Symfony \Component \Security \Core \Authentication \Token \Storage \TokenStorageInterface ;
1214use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
1315use Symfony \Component \Security \Core \Security as CoreSecurity ;
14- use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
15- use Symfony \Component \HttpKernel \Kernel ;
1616use Symfony \Component \Security \Core \User \InMemoryUser ;
1717use Symfony \Component \Security \Core \User \User ;
1818use Symfony \Component \Security \Core \User \UserInterface ;
Original file line number Diff line number Diff line change 1616use PHPUnit \Framework \MockObject \Rule \InvokedCount ;
1717use PHPUnit \Framework \MockObject \Stub ;
1818use PHPUnit \Framework \TestCase as BaseTestCase ;
19+ use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
1920use Symfony \Component \ExpressionLanguage \Expression ;
2021use Symfony \Component \ExpressionLanguage \ExpressionFunction ;
21- use Symfony \Component \Security \Core \Security as CoreSecurity ;
22- use Symfony \Bundle \SecurityBundle \Security as BundleSecurity ;
2322use Symfony \Component \HttpKernel \Kernel ;
23+ use Symfony \Component \Security \Core \Security as CoreSecurity ;
2424
2525use function array_keys ;
2626use function call_user_func_array ;
You can’t perform that action at this time.
0 commit comments