Passed
Pull Request — master (#7607)
by
unknown
09:28
created
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.