@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | public function tearDown() : void |
37 | 37 | { |
38 | - if (! $this->originalIncludePath) { |
|
38 | + if ( ! $this->originalIncludePath) { |
|
39 | 39 | return; |
40 | 40 | } |
41 | 41 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $config = Setup::createConfiguration(false, __DIR__); |
75 | 75 | $cache = $config->getMetadataCacheImpl(); |
76 | 76 | |
77 | - self::assertSame('dc2_' . md5(__DIR__) . '_', $cache->getNamespace()); |
|
77 | + self::assertSame('dc2_'.md5(__DIR__).'_', $cache->getNamespace()); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $config = Setup::createConfiguration(false, __DIR__, new ArrayCache()); |
86 | 86 | $cache = $config->getMetadataCacheImpl(); |
87 | 87 | |
88 | - self::assertSame('dc2_' . md5(__DIR__) . '_', $cache->getNamespace()); |
|
88 | + self::assertSame('dc2_'.md5(__DIR__).'_', $cache->getNamespace()); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | $cache = $config->getMetadataCacheImpl(); |
101 | 101 | |
102 | 102 | self::assertSame($originalCache, $cache); |
103 | - self::assertSame('foo:dc2_' . md5(__DIR__) . '_', $cache->getNamespace()); |
|
103 | + self::assertSame('foo:dc2_'.md5(__DIR__).'_', $cache->getNamespace()); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | $entity = new GH6443Post(); |
32 | 32 | $entity->id = 'Foo'; |
33 | 33 | |
34 | - $dql = 'SELECT p FROM ' . GH6443Post::class . ' p WHERE p = ?1'; |
|
34 | + $dql = 'SELECT p FROM '.GH6443Post::class.' p WHERE p = ?1'; |
|
35 | 35 | $query = $this->em->createQuery($dql); |
36 | 36 | |
37 | 37 | // we do not know that the internal type is a rot13, so we can not add the type parameter here |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $metadata = $this->em->getClassMetadata(GH6443Post::class); |
59 | 59 | $entityProxy = $this->em->getProxyFactory()->getProxy($metadata, ['id' => 'Foo']); |
60 | 60 | |
61 | - $dql = 'SELECT p FROM ' . GH6443Post::class . ' p WHERE p = ?1'; |
|
61 | + $dql = 'SELECT p FROM '.GH6443Post::class.' p WHERE p = ?1'; |
|
62 | 62 | $query = $this->em->createQuery($dql); |
63 | 63 | |
64 | 64 | // we do not know that the internal type is a rot13, so we can not add the type parameter here |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | $entity->id = 'Foo'; |
89 | 89 | $entity->secondId = 'Bar'; |
90 | 90 | |
91 | - $dql = 'SELECT entity FROM ' . GH6443CombinedIdentityEntity::class . ' entity WHERE entity = ?1'; |
|
91 | + $dql = 'SELECT entity FROM '.GH6443CombinedIdentityEntity::class.' entity WHERE entity = ?1'; |
|
92 | 92 | $query = $this->em->createQuery($dql); |
93 | 93 | |
94 | 94 | // we set the entity as arameter |