From f5363200a01d5e3c7cee8f6a8f736c865ff84287 Mon Sep 17 00:00:00 2001 From: David Badura Date: Sun, 4 Feb 2024 13:54:55 +0100 Subject: [PATCH] skip testArchiveMessages for php 8.1 --- tests/Unit/Store/DoctrineDbalStoreTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Unit/Store/DoctrineDbalStoreTest.php b/tests/Unit/Store/DoctrineDbalStoreTest.php index c5810a7a2..47f7be242 100644 --- a/tests/Unit/Store/DoctrineDbalStoreTest.php +++ b/tests/Unit/Store/DoctrineDbalStoreTest.php @@ -27,6 +27,7 @@ use Patchlevel\EventSourcing\Tests\Unit\Fixture\Profile; use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileCreated; use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileId; +use PHPUnit\Framework\Attributes\RequiresPhp; use PHPUnit\Framework\TestCase; use Prophecy\Argument; use Prophecy\PhpUnit\ProphecyTrait; @@ -241,6 +242,7 @@ public function testSaveWithOneEvent(): void $singleTableStore->save($message); } + #[RequiresPhp('>= 8.2')] public function testArchiveMessages(): void { $serializer = $this->prophesize(EventSerializer::class);