Completed
Push — master ( f4c848...d31188 )
by Jonathan
24s queued 17s
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC742Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         parent::setUp();
27 27
 
28
-        $testDir = sys_get_temp_dir() . '/DDC742Test' . uniqid();
28
+        $testDir = sys_get_temp_dir().'/DDC742Test'.uniqid();
29 29
 
30 30
         mkdir($testDir);
31 31
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC211Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $this->em->persist($group);
39 39
             $this->em->flush();
40 40
 
41
-            if (! $user->getGroups()->contains($group)) {
41
+            if ( ! $user->getGroups()->contains($group)) {
42 42
                 $user->getGroups()->add($group);
43 43
                 $group->getUsers()->add($user);
44 44
                 $this->em->flush();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
         if (Type::hasType('ddc3192_currency_code')) {
25 25
             $this->fail(
26
-                'Type ddc3192_currency_code exists for testing DDC-3192 only, ' .
26
+                'Type ddc3192_currency_code exists for testing DDC-3192 only, '.
27 27
                 'but it has already been registered for some reason'
28 28
             );
29 29
         }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->em->close();
61 61
 
62 62
         $query = $this->em->createQuery();
63
-        $query->setDQL('SELECT t FROM ' . DDC3192Transaction::class . ' t WHERE t.id = ?1');
63
+        $query->setDQL('SELECT t FROM '.DDC3192Transaction::class.' t WHERE t.id = ?1');
64 64
         $query->setParameter(1, $transaction->id);
65 65
 
66 66
         $resultByQuery = $query->getSingleResult();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC425Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         //$this->em->getConnection()->getConfiguration()->setSQLLogger(new \Doctrine\DBAL\Logging\EchoSQLLogger);
30 30
 
31
-        $num = $this->em->createQuery('DELETE ' . __NAMESPACE__ . '\DDC425Entity e WHERE e.someDatetimeField > ?1')
31
+        $num = $this->em->createQuery('DELETE '.__NAMESPACE__.'\DDC425Entity e WHERE e.someDatetimeField > ?1')
32 32
                 ->setParameter(1, new DateTime(), Type::DATETIME)
33 33
                 ->getResult();
34 34
         self::assertEquals(0, $num);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC719Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function addGroup(Group $child)
94 94
     {
95
-        if (! $this->children->contains($child)) {
95
+        if ( ! $this->children->contains($child)) {
96 96
             $this->children->add($child);
97 97
             $child->addGroup($this);
98 98
         }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function addChannel(Channel $child)
106 106
     {
107
-        if (! $this->channels->contains($child)) {
107
+        if ( ! $this->channels->contains($child)) {
108 108
             $this->channels->add($child);
109 109
         }
110 110
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3330Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
         $this->em->clear();
36 36
 
37 37
         $query = $this->em->createQuery(
38
-            'SELECT b, h' .
39
-            ' FROM Doctrine\Tests\ORM\Functional\Ticket\DDC3330Building b' .
40
-            ' LEFT JOIN b.halls h' .
38
+            'SELECT b, h'.
39
+            ' FROM Doctrine\Tests\ORM\Functional\Ticket\DDC3330Building b'.
40
+            ' LEFT JOIN b.halls h'.
41 41
             ' ORDER BY b.id ASC, h.name DESC'
42 42
         )
43 43
         ->setMaxResults(3);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         for ($i = 0; $i < 10; $i++) {
58 58
             $hall       = new DDC3330Hall();
59
-            $hall->name = 'HALL-' . $i;
59
+            $hall->name = 'HALL-'.$i;
60 60
             $building->addHall($hall);
61 61
         }
62 62
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3042Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $this
32 32
                 ->em
33 33
                 ->createQuery(
34
-                    'SELECT f, b FROM ' . __NAMESPACE__ . '\DDC3042Foo f JOIN ' . __NAMESPACE__ . '\DDC3042Bar b WITH 1 = 1'
34
+                    'SELECT f, b FROM '.__NAMESPACE__.'\DDC3042Foo f JOIN '.__NAMESPACE__.'\DDC3042Bar b WITH 1 = 1'
35 35
                 )
36 36
                 ->getSQL()
37 37
         );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1335Test.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function testDql() : void
33 33
     {
34
-        $dql    = 'SELECT u FROM ' . __NAMESPACE__ . '\DDC1335User u INDEX BY u.id';
34
+        $dql    = 'SELECT u FROM '.__NAMESPACE__.'\DDC1335User u INDEX BY u.id';
35 35
         $query  = $this->em->createQuery($dql);
36 36
         $result = $query->getResult();
37 37
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         self::assertArrayHasKey(2, $result);
41 41
         self::assertArrayHasKey(3, $result);
42 42
 
43
-        $dql    = 'SELECT u, p FROM ' . __NAMESPACE__ . '\DDC1335User u INDEX BY u.email INNER JOIN u.phones p INDEX BY p.id';
43
+        $dql    = 'SELECT u, p FROM '.__NAMESPACE__.'\DDC1335User u INDEX BY u.email INNER JOIN u.phones p INDEX BY p.id';
44 44
         $query  = $this->em->createQuery($dql);
45 45
         $result = $query->getResult();
46 46
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         self::assertArrayHasKey(1, $result);
83 83
         self::assertArrayHasKey(2, $result);
84 84
         self::assertArrayHasKey(3, $result);
85
-        self::assertEquals('SELECT u FROM ' . __NAMESPACE__ . '\DDC1335User u INDEX BY u.id', $dql);
85
+        self::assertEquals('SELECT u FROM '.__NAMESPACE__.'\DDC1335User u INDEX BY u.id', $dql);
86 86
     }
87 87
 
88 88
     public function testIndexByUnique() : void
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         self::assertArrayHasKey('[email protected]', $result);
98 98
         self::assertArrayHasKey('[email protected]', $result);
99 99
         self::assertArrayHasKey('[email protected]', $result);
100
-        self::assertEquals('SELECT u FROM ' . __NAMESPACE__ . '\DDC1335User u INDEX BY u.email', $dql);
100
+        self::assertEquals('SELECT u FROM '.__NAMESPACE__.'\DDC1335User u INDEX BY u.email', $dql);
101 101
     }
102 102
 
103 103
     public function testIndexWithJoin() : void
@@ -131,14 +131,14 @@  discard block
 block discarded – undo
131 131
         self::assertArrayHasKey(8, $result['[email protected]']->phones->toArray());
132 132
         self::assertArrayHasKey(9, $result['[email protected]']->phones->toArray());
133 133
 
134
-        self::assertEquals('SELECT u, p FROM ' . __NAMESPACE__ . '\DDC1335User u INDEX BY u.email INNER JOIN u.phones p INDEX BY p.id', $dql);
134
+        self::assertEquals('SELECT u, p FROM '.__NAMESPACE__.'\DDC1335User u INDEX BY u.email INNER JOIN u.phones p INDEX BY p.id', $dql);
135 135
     }
136 136
 
137 137
     private function loadFixture()
138 138
     {
139
-        $p1 = ['11 xxxx-xxxx','11 yyyy-yyyy','11 zzzz-zzzz'];
140
-        $p2 = ['22 xxxx-xxxx','22 yyyy-yyyy','22 zzzz-zzzz'];
141
-        $p3 = ['33 xxxx-xxxx','33 yyyy-yyyy','33 zzzz-zzzz'];
139
+        $p1 = ['11 xxxx-xxxx', '11 yyyy-yyyy', '11 zzzz-zzzz'];
140
+        $p2 = ['22 xxxx-xxxx', '22 yyyy-yyyy', '22 zzzz-zzzz'];
141
+        $p3 = ['33 xxxx-xxxx', '33 yyyy-yyyy', '33 zzzz-zzzz'];
142 142
 
143 143
         $u1 = new DDC1335User('[email protected]', 'Foo', $p1);
144 144
         $u2 = new DDC1335User('[email protected]', 'Bar', $p2);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC448Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function testIssue() : void
25 25
     {
26
-        $q = $this->em->createQuery('select b from ' . __NAMESPACE__ . '\\DDC448SubTable b where b.connectedClassId = ?1');
26
+        $q = $this->em->createQuery('select b from '.__NAMESPACE__.'\\DDC448SubTable b where b.connectedClassId = ?1');
27 27
 
28 28
         self::assertSQLEquals(
29 29
             'SELECT t0."id" AS c0, t0."discr" AS c1, t0."connectedClassId" AS c2 FROM "SubTable" t1 INNER JOIN "DDC448MainTable" t0 ON t1."id" = t0."id" WHERE t0."connectedClassId" = ?',
Please login to merge, or discard this patch.