From ee22be27a51880ab8668847f692b3223b6bfeab7 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 16 Aug 2017 15:21:14 +0200 Subject: [PATCH] #6625 #6626 removing PHP 5.3 incompatibilities (required for backport) --- tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php b/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php index 6b0725d2f..b789e3fae 100644 --- a/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php +++ b/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php @@ -71,9 +71,9 @@ class ProxyFactoryTest extends \Doctrine\Tests\OrmTestCase $proxy->getDescription(); } - public function testSkipMappedSuperClassesOnGeneration(): void + public function testSkipMappedSuperClassesOnGeneration() { - $cm = new ClassMetadata(\stdClass::class); + $cm = new ClassMetadata('stdClass'); $cm->isMappedSuperclass = true; self::assertSame( @@ -86,9 +86,9 @@ class ProxyFactoryTest extends \Doctrine\Tests\OrmTestCase /** * @group 6625 */ - public function testSkipEmbeddableClassesOnGeneration(): void + public function testSkipEmbeddableClassesOnGeneration() { - $cm = new ClassMetadata(\stdClass::class); + $cm = new ClassMetadata('stdClass'); $cm->isEmbeddedClass = true; self::assertSame(