Skip to content

Commit 56f58b4

Browse files
committed
Add patch number
PHPUnit 12 deprecates not doing so.
1 parent 20d719c commit 56f58b4

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Tests/ORM/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function testSetGetTypedFieldMapper(): void
221221
self::assertSame($defaultTypedFieldMapper, $this->configuration->getTypedFieldMapper());
222222
}
223223

224-
#[RequiresPhp('>=8.4')]
224+
#[RequiresPhp('>=8.4.0')]
225225
#[IgnoreDeprecations]
226226
public function testDisablingNativeLazyObjectsIsDeprecated(): void
227227
{

tests/Tests/ORM/EntityManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testWrapInTransactionReThrowsThrowables(): void
181181
}
182182

183183
/** Resetting the EntityManager relies on lazy objects until https://github.com/doctrine/orm/issues/5933 is resolved */
184-
#[RequiresPhp('>=8.4')]
184+
#[RequiresPhp('>=8.4.0')]
185185
public function testLazyGhostEntityManager(): void
186186
{
187187
$reflector = new ReflectionClass(EntityManager::class);

tests/Tests/ORM/Functional/Ticket/GH11072/GH11072Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Doctrine\Tests\OrmFunctionalTestCase;
99
use PHPUnit\Framework\Attributes\RequiresPhp;
1010

11-
#[RequiresPhp('>=8.2')]
11+
#[RequiresPhp('>=8.2.0')]
1212
final class GH11072Test extends OrmFunctionalTestCase
1313
{
1414
/** @var SchemaValidator */

tests/Tests/ORM/Proxy/ProxyFactoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function testProxyClonesParentFields(): void
239239
self::assertSame('Bob', $cloned->getName(), 'Expect properties on the CompanyPerson class to be cloned');
240240
}
241241

242-
#[RequiresPhp('>=8.4')]
242+
#[RequiresPhp('>=8.4.0')]
243243
#[IgnoreDeprecations]
244244
public function testProxyFactoryAcceptsNullProxyArgsWhenNativeLazyObjectsAreEnabled(): void
245245
{
@@ -258,7 +258,7 @@ public function testProxyFactoryAcceptsNullProxyArgsWhenNativeLazyObjectsAreEnab
258258
self::assertTrue($reflection->isUninitializedLazyObject($proxy));
259259
}
260260

261-
#[RequiresPhp('>=8.4')]
261+
#[RequiresPhp('>=8.4.0')]
262262
#[RequiresMethod(ProxyHelper::class, 'generateLazyGhost')]
263263
#[IgnoreDeprecations]
264264
public function testProxyFactoryTriggersDeprecationWhenNativeLazyObjectsAreDisabled(): void
@@ -275,7 +275,7 @@ public function testProxyFactoryTriggersDeprecationWhenNativeLazyObjectsAreDisab
275275
);
276276
}
277277

278-
#[RequiresPhp('< 8.4')]
278+
#[RequiresPhp('< 8.4.0')]
279279
public function testProxyFactoryDoesNotTriggerDeprecationWhenNativeLazyObjectsAreDisabled(): void
280280
{
281281
$this->emMock->getConfiguration()->enableNativeLazyObjects(false);

0 commit comments

Comments
 (0)