Failed Conditions
Pull Request — 2.6 (#7119)
by
unknown
09:11
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2842Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,16 +19,16 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function testSelectConditionSQL()
21 21
     {
22
-        $sqlLogger  = $this->_em->getConnection()->getConfiguration()->getSQLLogger();
22
+        $sqlLogger = $this->_em->getConnection()->getConfiguration()->getSQLLogger();
23 23
 
24
-        $entity1  = $this->_em->getRepository(User::class)->find(1);
24
+        $entity1 = $this->_em->getRepository(User::class)->find(1);
25 25
 
26 26
         $this->assertSQLEquals(
27 27
             "SELECT t0.id AS id_1, t0.name AS name_2, t0.type, t0.email AS email_3 FROM pagination_user t0 WHERE t0.id = ?",
28 28
             $sqlLogger->queries[count($sqlLogger->queries)]['sql']
29 29
         );
30 30
 
31
-        $entity1  = $this->_em->getRepository(User1::class)->find(1);
31
+        $entity1 = $this->_em->getRepository(User1::class)->find(1);
32 32
 
33 33
         $this->assertSQLEquals(
34 34
             "SELECT t0.id AS id_1, t0.name AS name_2, t0.email AS email_3, t0.type FROM pagination_user t0 WHERE t0.id = ? AND t0.type IN ('user1')",
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         $this->_em->clear();
62 62
 
63
-        $sqlLogger  = $this->_em->getConnection()->getConfiguration()->getSQLLogger();
63
+        $sqlLogger = $this->_em->getConnection()->getConfiguration()->getSQLLogger();
64 64
 
65 65
         $entity1 = $this->_em->getRepository(DC2842UserEntity::class)->find($entity1->getId());
66 66
 
Please login to merge, or discard this patch.