Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -19,7 +19,7 @@ use Symfony\Component\Security\Core\Exception\DisabledException;
*/
class UserCheckerTest extends TestCase
{
public function testCheckPreAuthReturnsOnUnknownUserClass()
public function testCheckPreAuthReturnsOnUnknownUserClass(): void
{
$sut = new UserChecker();
@@ -31,7 +31,7 @@ class UserCheckerTest extends TestCase
$this->assertTrue(true);
}
public function testCheckPostAuthReturnsOnUnknownUserClass()
public function testCheckPostAuthReturnsOnUnknownUserClass(): void
{
$sut = new UserChecker();
@@ -43,7 +43,7 @@ class UserCheckerTest extends TestCase
$this->assertTrue(true);
}
public function testDisabledCannotLoginInCheckPreAuth()
public function testDisabledCannotLoginInCheckPreAuth(): void
{
$this->expectException(DisabledException::class);
$this->expectExceptionMessage('User account is disabled.');
@@ -51,7 +51,7 @@ class UserCheckerTest extends TestCase
(new UserChecker())->checkPreAuth((new User())->setEnabled(false));
}
public function testDisabledCannotLoginInCheckPostAuth()
public function testDisabledCannotLoginInCheckPostAuth(): void
{
$this->expectException(DisabledException::class);
$this->expectExceptionMessage('User account is disabled.');