Completed
Push — master ( f4c848...d31188 )
by Jonathan
24s queued 17s
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2984Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         parent::setUp();
23 23
 
24
-        if (! Type::hasType('ddc2984_domain_user_id')) {
24
+        if ( ! Type::hasType('ddc2984_domain_user_id')) {
25 25
             Type::addType(
26 26
                 'ddc2984_domain_user_id',
27 27
                 DDC2984UserIdCustomDbalType::class
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $this->em->persist($user);
48 48
         $this->em->flush();
49 49
 
50
-        $repository = $this->em->getRepository(__NAMESPACE__ . '\DDC2984User');
50
+        $repository = $this->em->getRepository(__NAMESPACE__.'\DDC2984User');
51 51
 
52 52
         $sameUser = $repository->find(new DDC2984DomainUserId('unique_id_within_a_vo'));
53 53
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             return $value;
190 190
         }
191 191
 
192
-        if (! $value instanceof DDC2984DomainUserId) {
192
+        if ( ! $value instanceof DDC2984DomainUserId) {
193 193
             throw ConversionException::conversionFailed($value, $this->getName());
194 194
         }
195 195
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
         $platform = $this->em->getConnection()->getDatabasePlatform();
30 30
 
31
-        if (! $platform->supportsSchemas() && ! $platform->canEmulateSchemas()) {
31
+        if ( ! $platform->supportsSchemas() && ! $platform->canEmulateSchemas()) {
32 32
             $this->markTestSkipped('This test is only useful for databases that support schemas or can emulate them.');
33 33
         }
34 34
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
         // Checks sequence name validity
66 66
         self::assertEquals(
67
-            str_replace('"', '', $fullTableName) . '_' . $property->getColumnName() . '_seq',
67
+            str_replace('"', '', $fullTableName).'_'.$property->getColumnName().'_seq',
68 68
             $idSequenceName
69 69
         );
70 70
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2214Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
         $related = $this
52 52
             ->em
53
-            ->createQuery('SELECT b FROM ' . __NAMESPACE__ . '\DDC2214Bar b WHERE b.id IN(:ids)')
53
+            ->createQuery('SELECT b FROM '.__NAMESPACE__.'\DDC2214Bar b WHERE b.id IN(:ids)')
54 54
             ->setParameter('ids', [$bar])
55 55
             ->getResult();
56 56
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2660Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         for ($i = 0; $i < 5; $i++) {
36 36
             $product  = new DDC2660Product();
37 37
             $customer = new DDC2660Customer();
38
-            $order    = new DDC2660CustomerOrder($product, $customer, 'name' . $i);
38
+            $order    = new DDC2660CustomerOrder($product, $customer, 'name'.$i);
39 39
 
40 40
             $this->em->persist($product);
41 41
             $this->em->persist($customer);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1757Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
         // Show difference between expected and actual queries on error
28 28
         self::assertEquals(
29
-            'SELECT _a FROM ' . __NAMESPACE__ . '\DDC1757A _a, ' . __NAMESPACE__ . '\DDC1757B _b INNER JOIN _b.c _c INNER JOIN _c.d _d',
29
+            'SELECT _a FROM '.__NAMESPACE__.'\DDC1757A _a, '.__NAMESPACE__.'\DDC1757B _b INNER JOIN _b.c _c INNER JOIN _c.d _d',
30 30
             $dql,
31 31
             'Wrong DQL query'
32 32
         );
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Functional/OneToManyUnidirectionalAssociationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $this->em->clear();
49 49
 
50 50
         $routes = $this->em->createQuery(
51
-            'SELECT r, l, f, t FROM Doctrine\Tests\Models\Routing\RoutingRoute r ' .
51
+            'SELECT r, l, f, t FROM Doctrine\Tests\Models\Routing\RoutingRoute r '.
52 52
             'JOIN r.legs l JOIN l.fromLocation f JOIN l.toLocation t'
53 53
         )->getSingleResult();
54 54
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SecondLevelCacheManyToManyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
         $entity   = $this->em->find(Travel::class, $entitiId);
235 235
 
236 236
         self::assertEquals(0, $entity->getVisitedCities()->count());
237
-        self::assertEquals($queryCount+2, $this->getCurrentQueryCount());
237
+        self::assertEquals($queryCount + 2, $this->getCurrentQueryCount());
238 238
 
239 239
         $this->em->clear();
240 240
 
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Functional/SequenceEmulatedIdentityStrategyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         parent::setUp();
19 19
 
20
-        if (! $this->em->getConnection()->getDatabasePlatform()->usesSequenceEmulatedIdentityColumns()) {
20
+        if ( ! $this->em->getConnection()->getDatabasePlatform()->usesSequenceEmulatedIdentityColumns()) {
21 21
             $this->markTestSkipped(
22 22
                 'This test is special to platforms emulating IDENTITY key generation strategy through sequences.'
23 23
             );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -344,8 +344,8 @@  discard block
 block discarded – undo
344 344
             'locale' => ['value' => 'en', 'type' => DBALType::STRING],
345 345
         ];
346 346
 
347
-        self::assertEquals(serialize($parameters), '' . $filter);
348
-        self::assertEquals('' . $filter, '' . $filter2);
347
+        self::assertEquals(serialize($parameters), ''.$filter);
348
+        self::assertEquals(''.$filter, ''.$filter2);
349 349
     }
350 350
 
351 351
     public function testQueryCacheDependsOnFilters() : void
@@ -1116,7 +1116,7 @@  discard block
 block discarded – undo
1116 1116
             return '';
1117 1117
         }
1118 1118
 
1119
-        return $targetTableAlias . '.deleted = 0';
1119
+        return $targetTableAlias.'.deleted = 0';
1120 1120
     }
1121 1121
 }
1122 1122
 
@@ -1124,11 +1124,11 @@  discard block
 block discarded – undo
1124 1124
 {
1125 1125
     public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAlias)
1126 1126
     {
1127
-        if (! in_array('LocaleAware', $targetEntity->getReflectionClass()->getInterfaceNames(), true)) {
1127
+        if ( ! in_array('LocaleAware', $targetEntity->getReflectionClass()->getInterfaceNames(), true)) {
1128 1128
             return '';
1129 1129
         }
1130 1130
 
1131
-        return $targetTableAlias . '.locale = ' . $this->getParameter('locale'); // getParam uses connection to quote the value.
1131
+        return $targetTableAlias.'.locale = '.$this->getParameter('locale'); // getParam uses connection to quote the value.
1132 1132
     }
1133 1133
 }
1134 1134
 
@@ -1140,7 +1140,7 @@  discard block
 block discarded – undo
1140 1140
             return '';
1141 1141
         }
1142 1142
 
1143
-        return $targetTableAlias . '.country = ' . $this->getParameter('country'); // getParam uses connection to quote the value.
1143
+        return $targetTableAlias.'.country = '.$this->getParameter('country'); // getParam uses connection to quote the value.
1144 1144
     }
1145 1145
 }
1146 1146
 
@@ -1152,7 +1152,7 @@  discard block
 block discarded – undo
1152 1152
             return '';
1153 1153
         }
1154 1154
 
1155
-        return $targetTableAlias . '.name LIKE ' . $this->getParameter('prefix'); // getParam uses connection to quote the value.
1155
+        return $targetTableAlias.'.name LIKE '.$this->getParameter('prefix'); // getParam uses connection to quote the value.
1156 1156
     }
1157 1157
 }
1158 1158
 
@@ -1164,7 +1164,7 @@  discard block
 block discarded – undo
1164 1164
             return '';
1165 1165
         }
1166 1166
 
1167
-        return $targetTableAlias . '.topic = ' . $this->getParameter('topic'); // getParam uses connection to quote the value.
1167
+        return $targetTableAlias.'.topic = '.$this->getParameter('topic'); // getParam uses connection to quote the value.
1168 1168
     }
1169 1169
 }
1170 1170
 
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
1176 1176
             return '';
1177 1177
         }
1178 1178
 
1179
-        return $targetTableAlias . '.name LIKE ' . $this->getParameter('name');
1179
+        return $targetTableAlias.'.name LIKE '.$this->getParameter('name');
1180 1180
     }
1181 1181
 }
1182 1182
 
@@ -1188,7 +1188,7 @@  discard block
 block discarded – undo
1188 1188
             return '';
1189 1189
         }
1190 1190
 
1191
-        return $targetTableAlias . '."completed" = ' . $this->getParameter('completed');
1191
+        return $targetTableAlias.'."completed" = '.$this->getParameter('completed');
1192 1192
     }
1193 1193
 }
1194 1194
 
@@ -1200,6 +1200,6 @@  discard block
 block discarded – undo
1200 1200
             return '';
1201 1201
         }
1202 1202
 
1203
-        return $targetTableAlias . '.id = ' . $this->getParameter('id');
1203
+        return $targetTableAlias.'.id = '.$this->getParameter('id');
1204 1204
     }
1205 1205
 }
Please login to merge, or discard this patch.