From f1534610e15f6a22c6ca57086f5c59965e00b61b Mon Sep 17 00:00:00 2001 From: "Issei.M" Date: Wed, 16 Aug 2017 20:29:27 +0900 Subject: [PATCH] Fix CS / Add annotation --- tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php b/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php index 0207f72c2..feeb954a3 100644 --- a/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php +++ b/tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php @@ -71,24 +71,27 @@ class ProxyFactoryTest extends \Doctrine\Tests\OrmTestCase $proxy->getDescription(); } - public function testSkipMappedSuperClassesOnGeneration() + public function testSkipMappedSuperClassesOnGeneration(): void { $cm = new ClassMetadata(\stdClass::class); $cm->isMappedSuperclass = true; $num = $this->proxyFactory->generateProxyClasses([$cm]); - $this->assertEquals(0, $num, "No proxies generated."); + self::assertSame(0, $num, "No proxies generated."); } - public function testSkipEmbeddableClassesOnGeneration() + /** + * @group 6625 + */ + public function testSkipEmbeddableClassesOnGeneration(): void { $cm = new ClassMetadata(\stdClass::class); $cm->isEmbeddedClass = true; $num = $this->proxyFactory->generateProxyClasses([$cm]); - $this->assertEquals(0, $num, "No proxies generated."); + self::assertSame(0, $num, "No proxies generated."); } /**