Failed Conditions
Pull Request — master (#6735)
by Matthias
10:10
created
tests/Doctrine/Tests/ORM/Tools/SetupTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6443Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.