@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 6 | 6 | |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | try { |
| 17 | 17 | $this->schemaTool->createSchema( |
| 18 | 18 | [ |
| 19 | - $this->em->getClassMetadata(__NAMESPACE__ . '\DDC2084\MyEntity1'), |
|
| 20 | - $this->em->getClassMetadata(__NAMESPACE__ . '\DDC2084\MyEntity2'), |
|
| 19 | + $this->em->getClassMetadata(__NAMESPACE__.'\DDC2084\MyEntity1'), |
|
| 20 | + $this->em->getClassMetadata(__NAMESPACE__.'\DDC2084\MyEntity2'), |
|
| 21 | 21 | ] |
| 22 | 22 | ); |
| 23 | 23 | } catch (\Exception $exc) { |
@@ -44,10 +44,10 @@ discard block |
||
| 44 | 44 | { |
| 45 | 45 | $e1 = $this->loadFixture(); |
| 46 | 46 | $e2 = $e1->getMyEntity2(); |
| 47 | - $e = $this->em->find(__NAMESPACE__ . '\DDC2084\MyEntity1', $e2); |
|
| 47 | + $e = $this->em->find(__NAMESPACE__.'\DDC2084\MyEntity1', $e2); |
|
| 48 | 48 | |
| 49 | - self::assertInstanceOf(__NAMESPACE__ . '\DDC2084\MyEntity1', $e); |
|
| 50 | - self::assertInstanceOf(__NAMESPACE__ . '\DDC2084\MyEntity2', $e->getMyEntity2()); |
|
| 49 | + self::assertInstanceOf(__NAMESPACE__.'\DDC2084\MyEntity1', $e); |
|
| 50 | + self::assertInstanceOf(__NAMESPACE__.'\DDC2084\MyEntity2', $e->getMyEntity2()); |
|
| 51 | 51 | self::assertEquals('Foo', $e->getMyEntity2()->getValue()); |
| 52 | 52 | } |
| 53 | 53 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | public function testinvalidIdentifierBindingEntityException() |
| 59 | 59 | { |
| 60 | - $this->em->find(__NAMESPACE__ . '\DDC2084\MyEntity1', new DDC2084\MyEntity2('Foo')); |
|
| 60 | + $this->em->find(__NAMESPACE__.'\DDC2084\MyEntity1', new DDC2084\MyEntity2('Foo')); |
|
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 6 | 6 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | // step 1 |
| 44 | 44 | $page = $this->em |
| 45 | - ->createQuery('SELECT p, parent FROM ' . __NAMESPACE__ . '\DDC1436Page p LEFT JOIN p.parent parent WHERE p.id = :id') |
|
| 45 | + ->createQuery('SELECT p, parent FROM '.__NAMESPACE__.'\DDC1436Page p LEFT JOIN p.parent parent WHERE p.id = :id') |
|
| 46 | 46 | ->setParameter('id', $id) |
| 47 | 47 | ->getOneOrNullResult(); |
| 48 | 48 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | $product->addBuyer($user); |
| 36 | 36 | |
| 37 | 37 | $this->em->getUnitOfWork() |
| 38 | - ->computeChangeSets(); |
|
| 38 | + ->computeChangeSets(); |
|
| 39 | 39 | |
| 40 | 40 | $this->em->persist($product); |
| 41 | 41 | $this->em->flush(); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 6 | 6 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | ->em |
| 76 | 76 | ->createQuery( |
| 77 | 77 | 'SELECT e, p, c FROM ' |
| 78 | - . __NAMESPACE__ . '\\DDC2931User e LEFT JOIN e.parent p LEFT JOIN e.child c WHERE e = :id' |
|
| 78 | + . __NAMESPACE__.'\\DDC2931User e LEFT JOIN e.parent p LEFT JOIN e.child c WHERE e = :id' |
|
| 79 | 79 | ) |
| 80 | 80 | ->setParameter('id', $second) |
| 81 | 81 | ->setHint(Query::HINT_REFRESH, true) |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 5 | 5 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | { |
| 144 | 144 | $qb = $this->em->createQueryBuilder(); |
| 145 | 145 | |
| 146 | - $result = $qb->select('r, d, c') |
|
| 146 | + $result = $qb->select('r, d, c') |
|
| 147 | 147 | ->from(PaidRide::class, 'r') |
| 148 | 148 | ->leftJoin('r.driver', 'd') |
| 149 | 149 | ->leftJoin('r.car', 'c') |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 6 | 6 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | { |
| 38 | 38 | $id = $this->createAddress(); |
| 39 | 39 | |
| 40 | - $addresses = $this->em->createQuery('SELECT a FROM ' . Address::class . ' a WHERE a.id = :id') |
|
| 40 | + $addresses = $this->em->createQuery('SELECT a FROM '.Address::class.' a WHERE a.id = :id') |
|
| 41 | 41 | ->setParameter('id', $id) |
| 42 | 42 | ->getResult(); |
| 43 | 43 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | { |
| 59 | 59 | $id = $this->createFullAddress(); |
| 60 | 60 | |
| 61 | - $addresses = $this->em->createQuery('SELECT a FROM ' . FullAddress::class . ' a WHERE a.id = :id') |
|
| 61 | + $addresses = $this->em->createQuery('SELECT a FROM '.FullAddress::class.' a WHERE a.id = :id') |
|
| 62 | 62 | ->setParameter('id', $id) |
| 63 | 63 | ->getResult(); |
| 64 | 64 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Functional\ValueConversionType; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Hydration; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\ORM\Tools; |
| 6 | 6 | |