File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony \Bundle \SecurityBundle \Tests \Fixtures ;
4
+
5
+ use Symfony \Component \Security \Core \Authentication \Token \TokenInterface as BaseTokenInterface ;
6
+
7
+ interface TokenInterface extends BaseTokenInterface
8
+ {
9
+ public function __serialize (): array ;
10
+ public function __unserialize (array $ data ): void ;
11
+ }
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \SecurityBundle \Tests \Functional ;
13
13
14
+ use Symfony \Bundle \SecurityBundle \Tests \Fixtures \TokenInterface ;
14
15
use Symfony \Component \HttpFoundation \Request ;
15
- use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
16
16
use Symfony \Component \Security \Core \AuthenticationEvents ;
17
17
use Symfony \Component \Security \Core \Event \AuthenticationFailureEvent ;
18
18
use Symfony \Component \Security \Core \Event \AuthenticationSuccessEvent ;
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Bundle \SecurityBundle \SecurityUserValueResolver ;
16
+ use Symfony \Bundle \SecurityBundle \Tests \Fixtures \TokenInterface ;
16
17
use Symfony \Component \HttpFoundation \Request ;
17
18
use Symfony \Component \HttpKernel \Controller \ArgumentResolver ;
18
19
use Symfony \Component \HttpKernel \Controller \ArgumentResolver \DefaultValueResolver ;
19
20
use Symfony \Component \HttpKernel \ControllerMetadata \ArgumentMetadata ;
20
21
use Symfony \Component \Security \Core \Authentication \Token \Storage \TokenStorage ;
21
- use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
22
22
use Symfony \Component \Security \Core \User \UserInterface ;
23
23
24
24
/**
You can’t perform that action at this time.
0 commit comments