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

@@ -27,7 +27,7 @@ use Symfony\Component\Security\Http\Event\LoginSuccessEvent;
*/
class ProfileSubscriberTest extends TestCase
{
public function testGetSubscribedEvents()
public function testGetSubscribedEvents(): void
{
$events = ProfileSubscriber::getSubscribedEvents();
@@ -36,7 +36,7 @@ class ProfileSubscriberTest extends TestCase
$this->assertTrue(method_exists(LastLoginSubscriber::class, $methodName));
}
public function testOnLoginSuccessWithoutProfileSetsDesktop()
public function testOnLoginSuccessWithoutProfileSetsDesktop(): void
{
$manager = new ProfileManager();
$sut = new ProfileSubscriber($manager);
@@ -58,7 +58,7 @@ class ProfileSubscriberTest extends TestCase
self::assertEquals(ProfileManager::PROFILE_DESKTOP, $manager->getProfileFromSession($session));
}
public function testOnLoginSuccessWithProfile()
public function testOnLoginSuccessWithProfile(): void
{
$manager = new ProfileManager();
$sut = new ProfileSubscriber($manager);
@@ -104,7 +104,7 @@ class ProfileSubscriberTest extends TestCase
/**
* @dataProvider getInvalidCookies
*/
public function testOnLoginSuccessWithInvalidProfile(string $cookieValue)
public function testOnLoginSuccessWithInvalidProfile(string $cookieValue): void
{
$manager = new ProfileManager();
$sut = new ProfileSubscriber($manager);