From 60d653b4819b65e628af4a084b39c90c31ccbeab Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Mon, 10 Jun 2024 21:46:16 +0200 Subject: [PATCH] Lower version for stubs capabilities in tests --- tests/Stubs/EntityManagerStub.php | 2 +- tests/Stubs/ObjectManagerStub.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Stubs/EntityManagerStub.php b/tests/Stubs/EntityManagerStub.php index 09e2dc2..cdfddb7 100644 --- a/tests/Stubs/EntityManagerStub.php +++ b/tests/Stubs/EntityManagerStub.php @@ -29,7 +29,7 @@ use Doctrine\ORM\QueryBuilder; use Doctrine\ORM\UnitOfWork; -if (PHP_VERSION_ID < 80300) { +if (PHP_VERSION_ID < 80100) { class EntityManagerStub extends ObjectManagerStub implements EntityManagerInterface { /** @var Driver */ diff --git a/tests/Stubs/ObjectManagerStub.php b/tests/Stubs/ObjectManagerStub.php index fe77649..694847f 100644 --- a/tests/Stubs/ObjectManagerStub.php +++ b/tests/Stubs/ObjectManagerStub.php @@ -19,7 +19,7 @@ use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\Persistence\ObjectManager; -if (PHP_VERSION_ID < 80300) { +if (PHP_VERSION_ID < 80100) { class ObjectManagerStub implements ObjectManager { /** @var ClassMetadata */