@@ -35,7 +35,7 @@ |
||
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); |
@@ -26,7 +26,7 @@ |
||
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 | ); |
@@ -48,7 +48,7 @@ |
||
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 |
@@ -234,7 +234,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 | ); |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | */ |
211 | 211 | public function addType(Type $type) |
212 | 212 | { |
213 | - if (! $this->types->contains($type)) { |
|
213 | + if ( ! $this->types->contains($type)) { |
|
214 | 214 | $this->types[] = $type; |
215 | 215 | $type->addLemma($this); |
216 | 216 | } |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | */ |
331 | 331 | public function addLemma(Lemma $lemma) |
332 | 332 | { |
333 | - if (! $this->lemmas->contains($lemma)) { |
|
333 | + if ( ! $this->lemmas->contains($lemma)) { |
|
334 | 334 | $this->lemmas[] = $lemma; |
335 | 335 | $lemma->addType($this); |
336 | 336 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | */ |
56 | 56 | public function testDropPartSchemaWithForeignKeys() : void |
57 | 57 | { |
58 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
58 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
59 | 59 | $this->markTestSkipped('Foreign Key test'); |
60 | 60 | } |
61 | 61 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::setUp(); |
18 | 18 | |
19 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsSequences()) { |
|
19 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsSequences()) { |
|
20 | 20 | $this->markTestSkipped('Only working for Databases that support sequences.'); |
21 | 21 | } |
22 | 22 |
@@ -30,9 +30,9 @@ |
||
30 | 30 | */ |
31 | 31 | public function testAbstractSchemaNameSupportsClassnamesWithLeadingBackslash() : void |
32 | 32 | { |
33 | - $parser = $this->createParser('\\' . CmsUser::class); |
|
33 | + $parser = $this->createParser('\\'.CmsUser::class); |
|
34 | 34 | |
35 | - self::assertEquals('\\' . CmsUser::class, $parser->AbstractSchemaName()); |
|
35 | + self::assertEquals('\\'.CmsUser::class, $parser->AbstractSchemaName()); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |