File tree Expand file tree Collapse file tree 7 files changed +0
-18
lines changed Expand file tree Collapse file tree 7 files changed +0
-18
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Core \Tests \Authentication \Token ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ExpectDeprecationTrait ;
16
15
use Symfony \Component \Security \Core \Authentication \Token \AbstractToken ;
17
16
use Symfony \Component \Security \Core \User \InMemoryUser ;
18
17
use Symfony \Component \Security \Core \User \UserInterface ;
19
18
20
19
class AbstractTokenTest extends TestCase
21
20
{
22
- use ExpectDeprecationTrait;
23
-
24
21
/**
25
22
* @dataProvider provideUsers
26
23
*/
Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ public function testSerializeNullImpersonateUrl()
68
68
* )
69
69
* )
70
70
* )
71
- *
72
- * @group legacy
73
71
*/
74
72
public function testUnserializeOldToken ()
75
73
{
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Core \Tests \Authorization ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ExpectDeprecationTrait ;
16
15
use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
17
16
use Symfony \Component \Security \Core \Authorization \AccessDecisionManager ;
18
17
use Symfony \Component \Security \Core \Authorization \Voter \VoterInterface ;
19
18
20
19
class AccessDecisionManagerTest extends TestCase
21
20
{
22
- use ExpectDeprecationTrait;
23
-
24
21
public function testSetUnsupportedStrategy ()
25
22
{
26
23
$ this ->expectException (\InvalidArgumentException::class);
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Core \Tests \Authorization \Voter ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ExpectDeprecationTrait ;
16
15
use Symfony \Component \Security \Core \Authentication \Token \AbstractToken ;
17
16
use Symfony \Component \Security \Core \Authorization \Voter \RoleVoter ;
18
17
use Symfony \Component \Security \Core \Authorization \Voter \VoterInterface ;
19
18
20
19
class RoleVoterTest extends TestCase
21
20
{
22
- use ExpectDeprecationTrait;
23
-
24
21
/**
25
22
* @dataProvider getVoteTests
26
23
*/
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Core \Tests \User ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ExpectDeprecationTrait ;
16
15
use Symfony \Component \Security \Core \Exception \UserNotFoundException ;
17
16
use Symfony \Component \Security \Core \User \InMemoryUser ;
18
17
use Symfony \Component \Security \Core \User \InMemoryUserProvider ;
19
18
20
19
class InMemoryUserProviderTest extends TestCase
21
20
{
22
- use ExpectDeprecationTrait;
23
-
24
21
public function testConstructor ()
25
22
{
26
23
$ provider = $ this ->createProvider ();
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Core \Tests \User ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Bridge \PhpUnit \ExpectDeprecationTrait ;
16
15
use Symfony \Component \Security \Core \User \InMemoryUser ;
17
16
use Symfony \Component \Security \Core \User \UserInterface ;
18
17
19
18
class InMemoryUserTest extends TestCase
20
19
{
21
- use ExpectDeprecationTrait;
22
-
23
20
public function testConstructorException ()
24
21
{
25
22
$ this ->expectException (\InvalidArgumentException::class);
Original file line number Diff line number Diff line change 19
19
"php" : " >=8.0.2" ,
20
20
"symfony/event-dispatcher-contracts" : " ^1.1|^2.0|^3.0" ,
21
21
"symfony/service-contracts" : " ^1.1.6|^2.0|^3.0" ,
22
- "symfony/deprecation-contracts" : " ^2.1|^3.0" ,
23
22
"symfony/password-hasher" : " ^5.4|^6.0"
24
23
},
25
24
"require-dev" : {
You can’t perform that action at this time.
0 commit comments