diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 728419419..fd491d9cb 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -124,7 +124,7 @@ public function testResetUnknownEntityManager(): void } #[IgnoreDeprecations] - #[RequiresPhp('<8.4')] + #[RequiresPhp('<8.4.0')] public function testReset(): void { if (! interface_exists(EntityManagerInterface::class)) { @@ -154,7 +154,7 @@ public function testReset(): void $registry->reset(); } - #[RequiresPhp('>= 8.4')] + #[RequiresPhp('>= 8.4.0')] public function testResetLazyObject(): void { if (! interface_exists(EntityManagerInterface::class) || ! interface_exists(LazyObjectInterface::class)) { diff --git a/tests/Repository/ServiceEntityRepositoryTest.php b/tests/Repository/ServiceEntityRepositoryTest.php index 43ca68d4f..bd2fa9ee2 100644 --- a/tests/Repository/ServiceEntityRepositoryTest.php +++ b/tests/Repository/ServiceEntityRepositoryTest.php @@ -43,7 +43,7 @@ public function testConstructorThrowsExceptionWhenNoManagerFound(): void #[IgnoreDeprecations] #[RequiresMethod(ProxyHelper::class, 'generateLazyGhost')] - #[RequiresPhp('>= 8.4')] + #[RequiresPhp('>= 8.4.0')] public function testConstructInitializesWhenImplementingLazyObjectInterface(): void { $registry = $this->createStub(ManagerRegistry::class);