feat: upgrade phpunit to 12.5

This commit is contained in:
Björn Fromme committed 2026-08-31 09:03:44 +02:00
1 parent 010cfe56b2
commit 5396cbb548
95 files changed
+1435 -1224

No files matched your search

@@ -81,7 +81,7 @@ class MailjetNewsletterEventHandlerTest extends TestCase
$consent = new NewsletterConsent('[email protected]', 123);
$consent->markRevoked(new \DateTimeImmutable('2026-04-29T11:00:00+00:00'));
$repository = $this->createMock(NewsletterConsentRepository::class);
$repository = $this->createStub(NewsletterConsentRepository::class);
$repository->method('findOneByEmailAndListId')->willReturn($consent);
$entityManager = $this->createMock(EntityManagerInterface::class);
@@ -103,7 +103,7 @@ class MailjetNewsletterEventHandlerTest extends TestCase
$consent = new NewsletterConsent('[email protected]', 123);
$consent->markConfirmed(new \DateTimeImmutable('2026-04-29T11:00:00+00:00'));
$repository = $this->createMock(NewsletterConsentRepository::class);
$repository = $this->createStub(NewsletterConsentRepository::class);
$repository->method('findOneByEmailAndListId')->willReturn($consent);
$entityManager = $this->createMock(EntityManagerInterface::class);
@@ -126,7 +126,7 @@ class MailjetNewsletterEventHandlerTest extends TestCase
$consent = new NewsletterConsent('[email protected]', 123);
$consent->markRevoked(new \DateTimeImmutable('2026-04-29T11:00:00+00:00'));
$repository = $this->createMock(NewsletterConsentRepository::class);
$repository = $this->createStub(NewsletterConsentRepository::class);
$repository->method('findOneByEmailAndListId')->willReturn($consent);
$entityManager = $this->createMock(EntityManagerInterface::class);