Skip to content

Commit d79cf00

Browse files
Merge branch '4.4'
* 4.4: Fix compatibility with PHPUnit 8 Disable phpunit typehint patch on 4.3 branch Fix deprecation on 4.3
2 parents 38fbebc + 6b3f067 commit d79cf00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/Authorization/AuthorizationCheckerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AuthorizationCheckerTest extends TestCase
2323
private $authorizationChecker;
2424
private $tokenStorage;
2525

26-
protected function setUp()
26+
protected function setUp(): void
2727
{
2828
$this->authenticationManager = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface')->getMock();
2929
$this->accessDecisionManager = $this->getMockBuilder('Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface')->getMock();

Tests/Authorization/Voter/VoterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class VoterTest extends TestCase
2020
{
2121
protected $token;
2222

23-
protected function setUp()
23+
protected function setUp(): void
2424
{
2525
$this->token = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')->getMock();
2626
}

Tests/Validator/Constraints/UserPasswordValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function createValidator()
4646
return new UserPasswordValidator($this->tokenStorage, $this->encoderFactory);
4747
}
4848

49-
protected function setUp()
49+
protected function setUp(): void
5050
{
5151
$user = $this->createUser();
5252
$this->tokenStorage = $this->createTokenStorage($user);

0 commit comments

Comments
 (0)