Skip to content

Commit c1263e5

Browse files
committed
Revert deprecated security
1 parent 67c43b4 commit c1263e5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
php-version:
1919
- '8.0'
2020
- '8.1'
21+
- '8.2'
2122
symfony-version:
2223
- '5.4.*'
2324
- '6.0.*'
25+
- '6.2.*'
2426
dependencies:
2527
- 'lowest'
2628
- 'highest'

tests/ExpressionLanguage/ExpressionFunction/Security/GetUserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
use Overblog\GraphQLBundle\Generator\TypeGenerator;
99
use Overblog\GraphQLBundle\Security\Security;
1010
use Overblog\GraphQLBundle\Tests\ExpressionLanguage\TestCase;
11-
use Symfony\Bundle\SecurityBundle\Security as CoreSecurity;
1211
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
1312
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
13+
use Symfony\Component\Security\Core\Security as CoreSecurity;
1414
use Symfony\Component\Security\Core\User\InMemoryUser;
1515
use Symfony\Component\Security\Core\User\User;
1616
use Symfony\Component\Security\Core\User\UserInterface;

tests/ExpressionLanguage/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use PHPUnit\Framework\MockObject\Rule\InvokedCount;
1717
use PHPUnit\Framework\MockObject\Stub;
1818
use PHPUnit\Framework\TestCase as BaseTestCase;
19-
use Symfony\Bundle\SecurityBundle\Security as CoreSecurity;
2019
use Symfony\Component\ExpressionLanguage\Expression;
2120
use Symfony\Component\ExpressionLanguage\ExpressionFunction;
21+
use Symfony\Component\Security\Core\Security as CoreSecurity;
2222

2323
use function array_keys;
2424
use function call_user_func_array;

0 commit comments

Comments
 (0)