feat: upgrade phpunit to 12.5

This commit is contained in:
Björn Fromme
2026-08-31 09:31:00 +02:00
parent 010cfe56b2
commit bfad61f1dd
95 changed files with 1436 additions and 1224 deletions
@@ -34,9 +34,9 @@ class BookingEditDraftManagerMutabilityTest extends TestCase
protected function setUp(): void
{
$this->service = new BookingEditDraftManager(
$this->createMock(BookingEditDraftRepository::class),
$this->createMock(EntityManagerInterface::class),
$this->createMock(BookingChangeTracker::class),
$this->createStub(BookingEditDraftRepository::class),
$this->createStub(EntityManagerInterface::class),
$this->createStub(BookingChangeTracker::class),
new BookingEditDraftMerger(),
new NullLogger(),
);
@@ -544,7 +544,7 @@ class BookingEditDraftManagerMutabilityTest extends TestCase
private function createDraft(array $formData): BookingEditDraft
{
$user = $this->createMock(User::class);
$user = $this->createStub(User::class);
return new BookingEditDraft($user, 123, new \DateTimeImmutable(), $formData);
}