Completed
Pull Request — master (#7046)
by Gabriel
12:39
created
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6217Test.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\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC425Test.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
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         //$this->em->getConnection()->getConfiguration()->setSQLLogger(new \Doctrine\DBAL\Logging\EchoSQLLogger);
28 28
 
29
-        $num = $this->em->createQuery('DELETE ' . __NAMESPACE__ . '\DDC425Entity e WHERE e.someDatetimeField > ?1')
29
+        $num = $this->em->createQuery('DELETE '.__NAMESPACE__.'\DDC425Entity e WHERE e.someDatetimeField > ?1')
30 30
                 ->setParameter(1, new DateTime, Type::DATETIME)
31 31
                 ->getResult();
32 32
         self::assertEquals(0, $num);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC448Test.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
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function testIssue()
25 25
     {
26
-        $q = $this->em->createQuery('select b from ' . __NAMESPACE__ . '\\DDC448SubTable b where b.connectedClassId = ?1');
26
+        $q = $this->em->createQuery('select b from '.__NAMESPACE__.'\\DDC448SubTable b where b.connectedClassId = ?1');
27 27
 
28 28
         self::assertSQLEquals(
29 29
             'SELECT t0."id" AS c0, t0."discr" AS c1, t0."connectedClassId" AS c2 FROM "SubTable" t1 INNER JOIN "DDC448MainTable" t0 ON t1."id" = t0."id" WHERE t0."connectedClassId" = ?',
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.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
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
         $platform = $this->em->getConnection()->getDatabasePlatform();
27 27
 
28
-        if (! $platform->supportsSchemas() && ! $platform->canEmulateSchemas()) {
28
+        if ( ! $platform->supportsSchemas() && ! $platform->canEmulateSchemas()) {
29 29
             $this->markTestSkipped('This test is only useful for databases that support schemas or can emulate them.');
30 30
         }
31 31
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         // Checks sequence name validity
63 63
         self::assertEquals(
64
-            str_replace('"', '', $fullTableName) . '_' . $property->getColumnName() . '_seq',
64
+            str_replace('"', '', $fullTableName).'_'.$property->getColumnName().'_seq',
65 65
             $idSequenceName
66 66
         );
67 67
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.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
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
         $metadata = $this->em->getClassMetadata(DDC3634Entity::class);
24 24
 
25
-        if (! $metadata->getValueGenerationPlan()->containsDeferred()) {
25
+        if ( ! $metadata->getValueGenerationPlan()->containsDeferred()) {
26 26
             $this->markTestSkipped('Need a post-insert ID generator in order to make this test work correctly');
27 27
         }
28 28
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     public function testSavesVeryLargeIntegerAutoGeneratedValue()
41 41
     {
42
-        $veryLargeId = PHP_INT_MAX . PHP_INT_MAX;
42
+        $veryLargeId = PHP_INT_MAX.PHP_INT_MAX;
43 43
 
44 44
         $entityManager = EntityManager::create(
45 45
             new DDC3634LastInsertIdMockingConnection($veryLargeId, $this->em->getConnection()),
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2214Test.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
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
         $related = $this
50 50
             ->em
51
-            ->createQuery('SELECT b FROM ' . __NAMESPACE__ . '\DDC2214Bar b WHERE b.id IN(:ids)')
51
+            ->createQuery('SELECT b FROM '.__NAMESPACE__.'\DDC2214Bar b WHERE b.id IN(:ids)')
52 52
             ->setParameter('ids', [$bar])
53 53
             ->getResult();
54 54
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC719Test.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
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function addGroup(Group $child)
96 96
     {
97
-        if (! $this->children->contains($child)) {
97
+        if ( ! $this->children->contains($child)) {
98 98
             $this->children->add($child);
99 99
             $child->addGroup($this);
100 100
         }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function addChannel(Channel $child)
109 109
     {
110
-        if (! $this->channels->contains($child)) {
110
+        if ( ! $this->channels->contains($child)) {
111 111
             $this->channels->add($child);
112 112
         }
113 113
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6682Test.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\Test\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC493Test.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
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function testIssue()
24 24
     {
25
-        $q = $this->em->createQuery('select u, c.data from ' . __NAMESPACE__ . '\\DDC493Distributor u JOIN u.contact c');
25
+        $q = $this->em->createQuery('select u, c.data from '.__NAMESPACE__.'\\DDC493Distributor u JOIN u.contact c');
26 26
 
27 27
         self::assertSQLEquals(
28 28
             'SELECT t0."id" AS c0, t1."data" AS c1, t0."discr" AS c2, t0."contact" AS c3 FROM "DDC493Distributor" t2 INNER JOIN "DDC493Customer" t0 ON t2."id" = t0."id" INNER JOIN "DDC493Contact" t1 ON t0."contact" = t1."id"',
Please login to merge, or discard this patch.