@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->em->flush(); |
35 | 35 | $this->em->clear(); |
36 | 36 | |
37 | - $q = $this->em->createQuery('select u,i from ' . __NAMESPACE__ . '\\DDC512Customer u left join u.item i'); |
|
37 | + $q = $this->em->createQuery('select u,i from '.__NAMESPACE__.'\\DDC512Customer u left join u.item i'); |
|
38 | 38 | $result = $q->getResult(); |
39 | 39 | |
40 | 40 | self::assertCount(2, $result); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | $this->em->clear(); |
47 | 47 | |
48 | 48 | $query = $this->em->createQuery( |
49 | - 'SELECT x, y, z FROM Doctrine\Tests\ORM\Functional\Ticket\DDC279EntityX x ' . |
|
49 | + 'SELECT x, y, z FROM Doctrine\Tests\ORM\Functional\Ticket\DDC279EntityX x '. |
|
50 | 50 | 'INNER JOIN x.y y INNER JOIN y.z z WHERE x.id = ?1' |
51 | 51 | )->setParameter(1, $x->id); |
52 | 52 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | { |
36 | 36 | $id = $this->createAddress(); |
37 | 37 | |
38 | - $addresses = $this->em->createQuery('SELECT a FROM ' . Address::class . ' a WHERE a.id = :id') |
|
38 | + $addresses = $this->em->createQuery('SELECT a FROM '.Address::class.' a WHERE a.id = :id') |
|
39 | 39 | ->setParameter('id', $id) |
40 | 40 | ->getResult(); |
41 | 41 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | { |
57 | 57 | $id = $this->createFullAddress(); |
58 | 58 | |
59 | - $addresses = $this->em->createQuery('SELECT a FROM ' . FullAddress::class . ' a WHERE a.id = :id') |
|
59 | + $addresses = $this->em->createQuery('SELECT a FROM '.FullAddress::class.' a WHERE a.id = :id') |
|
60 | 60 | ->setParameter('id', $id) |
61 | 61 | ->getResult(); |
62 | 62 |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $this->em->flush(); |
43 | 43 | |
44 | 44 | $query = $this->em->createQuery('SELECT f, fl FROM Doctrine\Tests\ORM\Functional\Ticket\DDC1300Foo f JOIN f.fooLocaleRefFoo fl'); |
45 | - $result = $query->getResult(); |
|
45 | + $result = $query->getResult(); |
|
46 | 46 | |
47 | 47 | self::assertCount(1, $result); |
48 | 48 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $this->em->flush(); |
46 | 46 | $this->em->clear(); |
47 | 47 | |
48 | - $children = $this->em->createQuery('select c,p from ' . __NAMESPACE__ . '\DDC371Child c ' |
|
48 | + $children = $this->em->createQuery('select c,p from '.__NAMESPACE__.'\DDC371Child c ' |
|
49 | 49 | . 'left join c.parent p where c.id = 1 and p.id = 1') |
50 | 50 | ->setHint(Query::HINT_REFRESH, true) |
51 | 51 | ->getResult(); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | $employee = new Issue5989Employee(); |
32 | 32 | |
33 | - $employeeTags =['tag2', 'tag3']; |
|
33 | + $employeeTags = ['tag2', 'tag3']; |
|
34 | 34 | $employee->tags = $employeeTags; |
35 | 35 | $this->em->persist($employee); |
36 | 36 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | public function testIssue() : void |
25 | 25 | { |
26 | - $dql = 'SELECT n.smallText, n.publishDate FROM ' . __NAMESPACE__ . '\\DDC1695News n'; |
|
26 | + $dql = 'SELECT n.smallText, n.publishDate FROM '.__NAMESPACE__.'\\DDC1695News n'; |
|
27 | 27 | $sql = $this->em->createQuery($dql)->getSQL(); |
28 | 28 | |
29 | 29 | self::assertEquals( |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $entity = new DDC1526Menu(); |
30 | 30 | |
31 | 31 | if (isset($parents[($i % 3)])) { |
32 | - $entity->parent = $parents[($i%3)]; |
|
32 | + $entity->parent = $parents[($i % 3)]; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | $this->em->persist($entity); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $this->em->clear(); |
40 | 40 | |
41 | 41 | $dql = 'SELECT m, c |
42 | - FROM ' . __NAMESPACE__ . '\DDC1526Menu m |
|
42 | + FROM ' . __NAMESPACE__.'\DDC1526Menu m |
|
43 | 43 | LEFT JOIN m.children c'; |
44 | 44 | $menus = $this->em->createQuery($dql)->getResult(); |
45 | 45 |
@@ -25,7 +25,7 @@ |
||
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 |