Passed
Pull Request — master (#7607)
by
unknown
09:28
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/GH7605Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $query = $this->em->createQueryBuilder()
61 61
             ->select('offer')
62 62
             ->from(GH7605Offer::class, 'offer')
63
-            ->where($dqlStatusLogic . ' = :status')
63
+            ->where($dqlStatusLogic.' = :status')
64 64
             ->setMaxResults(1)
65 65
             ->getQuery();
66 66
 
@@ -73,10 +73,10 @@  discard block
 block discarded – undo
73 73
         self::assertEquals(3, $offer->id);
74 74
 
75 75
         // InExpression tests
76
-        $qb    = $this->em->createQueryBuilder()
76
+        $qb = $this->em->createQueryBuilder()
77 77
             ->select('offer')
78 78
             ->from(GH7605Offer::class, 'offer')
79
-            ->where($dqlStatusLogic . ' IN (:status)')
79
+            ->where($dqlStatusLogic.' IN (:status)')
80 80
             ->orderBy('offer.id', 'ASC');
81 81
         $query = $qb->getQuery();
82 82
         $query->setParameter('status', ['INACTIVE', 'CLOSED']);
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             self::assertEquals($expectedIds[$i], $offer->id);
87 87
         }
88 88
 
89
-        $query = $qb->where($dqlStatusLogic . ' NOT IN (:status)')->getQuery();
89
+        $query = $qb->where($dqlStatusLogic.' NOT IN (:status)')->getQuery();
90 90
         $query->setParameter('status', ['FINISHED', 'INACTIVE']);
91 91
         $offers      = $query->getResult(AbstractQuery::HYDRATE_OBJECT);
92 92
         $expectedIds = [1, 4];
Please login to merge, or discard this patch.