Skip to content

Commit bdeb985

Browse files
committed
Disable phpunit typehint patch on 4.3 branch
1 parent 833ccc9 commit bdeb985

7 files changed

+8
-8
lines changed

Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DefaultAuthenticationFailureHandlerTest extends TestCase
2626
private $session;
2727
private $exception;
2828

29-
protected function setUp()
29+
protected function setUp(): void
3030
{
3131
$this->httpKernel = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock();
3232
$this->httpUtils = $this->getMockBuilder('Symfony\Component\Security\Http\HttpUtils')->getMock();

Tests/Authentication/SimpleAuthenticationHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SimpleAuthenticationHandlerTest extends TestCase
3636

3737
private $response;
3838

39-
protected function setUp()
39+
protected function setUp(): void
4040
{
4141
$this->successHandler = $this->getMockBuilder('Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface')->getMock();
4242
$this->failureHandler = $this->getMockBuilder('Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface')->getMock();

Tests/Firewall/SimplePreAuthenticationListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function testHandlecatchAuthenticationException()
9797
$listener($this->event);
9898
}
9999

100-
protected function setUp()
100+
protected function setUp(): void
101101
{
102102
$this->authenticationManager = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager')
103103
->disableOriginalConstructor()
@@ -120,7 +120,7 @@ protected function setUp()
120120
$this->token = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')->getMock();
121121
}
122122

123-
protected function tearDown()
123+
protected function tearDown(): void
124124
{
125125
$this->authenticationManager = null;
126126
$this->dispatcher = null;

Tests/Firewall/SwitchUserListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SwitchUserListenerTest extends TestCase
3939

4040
private $event;
4141

42-
protected function setUp()
42+
protected function setUp(): void
4343
{
4444
$this->tokenStorage = new TokenStorage();
4545
$this->userProvider = $this->getMockBuilder('Symfony\Component\Security\Core\User\UserProviderInterface')->getMock();

Tests/Logout/CsrfTokenClearingLogoutHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CsrfTokenClearingLogoutHandlerTest extends TestCase
2525
private $csrfTokenStorage;
2626
private $csrfTokenClearingLogoutHandler;
2727

28-
protected function setUp()
28+
protected function setUp(): void
2929
{
3030
$this->session = new Session(new MockArraySessionStorage());
3131
$this->csrfTokenStorage = new SessionTokenStorage($this->session, 'foo');

Tests/Logout/LogoutUrlGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class LogoutUrlGeneratorTest extends TestCase
2929
/** @var LogoutUrlGenerator */
3030
private $generator;
3131

32-
protected function setUp()
32+
protected function setUp(): void
3333
{
3434
$requestStack = $this->getMockBuilder(RequestStack::class)->getMock();
3535
$request = $this->getMockBuilder(Request::class)->getMock();

Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
class PersistentTokenBasedRememberMeServicesTest extends TestCase
2727
{
28-
public static function setUpBeforeClass()
28+
public static function setUpBeforeClass(): void
2929
{
3030
try {
3131
random_bytes(1);

0 commit comments

Comments
 (0)