Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit d4a19a8

Browse files
Merge branch '3.2'
* 3.2: Fix typo in process error message Update to PHPUnit namespaces Minor typo fix messsagesData -> messagesData remove translation data collector when not usable
2 parents 47af9d3 + 0a4c190 commit d4a19a8

File tree

75 files changed

+152
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+152
-75
lines changed

Core/Tests/Authentication/AuthenticationProviderManagerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager;
1516
use Symfony\Component\Security\Core\Exception\ProviderNotFoundException;
1617
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1718
use Symfony\Component\Security\Core\Exception\AccountStatusException;
1819
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1920
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
2021

21-
class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase
22+
class AuthenticationProviderManagerTest extends TestCase
2223
{
2324
/**
2425
* @expectedException \InvalidArgumentException

Core/Tests/Authentication/AuthenticationTrustResolverTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver;
1516

16-
class AuthenticationTrustResolverTest extends \PHPUnit_Framework_TestCase
17+
class AuthenticationTrustResolverTest extends TestCase
1718
{
1819
public function testIsAnonymous()
1920
{

Core/Tests/Authentication/Provider/AnonymousAuthenticationProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider;
1516

16-
class AnonymousAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
17+
class AnonymousAuthenticationProviderTest extends TestCase
1718
{
1819
public function testSupports()
1920
{

Core/Tests/Authentication/Provider/DaoAuthenticationProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder;
1516
use Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider;
1617
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
1718

18-
class DaoAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
19+
class DaoAuthenticationProviderTest extends TestCase
1920
{
2021
/**
2122
* @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationServiceException

Core/Tests/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\Provider\PreAuthenticatedAuthenticationProvider;
1516
use Symfony\Component\Security\Core\Exception\LockedException;
1617

17-
class PreAuthenticatedAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
18+
class PreAuthenticatedAuthenticationProviderTest extends TestCase
1819
{
1920
public function testSupports()
2021
{

Core/Tests/Authentication/Provider/RememberMeAuthenticationProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider;
1516
use Symfony\Component\Security\Core\Exception\DisabledException;
1617
use Symfony\Component\Security\Core\Role\Role;
1718

18-
class RememberMeAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
19+
class RememberMeAuthenticationProviderTest extends TestCase
1920
{
2021
public function testSupports()
2122
{

Core/Tests/Authentication/Provider/UserAuthenticationProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Exception\AccountExpiredException;
1516
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
1617
use Symfony\Component\Security\Core\Exception\CredentialsExpiredException;
1718
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
1819
use Symfony\Component\Security\Core\Role\Role;
1920
use Symfony\Component\Security\Core\Role\SwitchUserRole;
2021

21-
class UserAuthenticationProviderTest extends \PHPUnit_Framework_TestCase
22+
class UserAuthenticationProviderTest extends TestCase
2223
{
2324
public function testSupports()
2425
{

Core/Tests/Authentication/RememberMe/InMemoryTokenProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\RememberMe;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\RememberMe\PersistentToken;
1516
use Symfony\Component\Security\Core\Authentication\RememberMe\InMemoryTokenProvider;
1617

17-
class InMemoryTokenProviderTest extends \PHPUnit_Framework_TestCase
18+
class InMemoryTokenProviderTest extends TestCase
1819
{
1920
public function testCreateNewToken()
2021
{

Core/Tests/Authentication/RememberMe/PersistentTokenTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\RememberMe;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\RememberMe\PersistentToken;
1516

16-
class PersistentTokenTest extends \PHPUnit_Framework_TestCase
17+
class PersistentTokenTest extends TestCase
1718
{
1819
public function testConstructor()
1920
{

Core/Tests/Authentication/Token/AbstractTokenTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Security\Core\Authentication\Token\AbstractToken;
1516
use Symfony\Component\Security\Core\Role\Role;
1617
use Symfony\Component\Security\Core\Role\SwitchUserRole;
@@ -57,7 +58,8 @@ public function getCredentials()
5758
}
5859
}
5960

60-
class AbstractTokenTest extends \PHPUnit_Framework_TestCase
61+
/** @noinspection PhpUndefinedClassInspection */
62+
class AbstractTokenTest extends TestCase
6163
{
6264
public function testGetUsername()
6365
{

0 commit comments

Comments
 (0)