Passed
Pull Request — master (#7046)
by Gabriel
12:23
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2084Test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1436Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1225Test.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
     {
31 31
         $qb = $this->em->createQueryBuilder();
32 32
         $qb->from(DDC1225_TestEntity1::class, 'te1')
33
-           ->select('te1')
34
-           ->where('te1.testEntity2 = ?1')
35
-           ->setParameter(1, 0);
33
+            ->select('te1')
34
+            ->where('te1.testEntity2 = ?1')
35
+            ->setParameter(1, 0);
36 36
 
37 37
         self::assertSQLEquals(
38 38
             'SELECT t0."test_entity2_id" AS c0 FROM "te1" t0 WHERE t0."test_entity2_id" = ?',
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1925Test.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2931Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1884Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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')
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6402Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Tests/ORM/Functional/ValueConversionType/ManyToManyExtraLazyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Hydration/HydrationTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.