Test Failed
Push — develop ( 10da16...c19264 )
by Luís
63:31
created
tests/Doctrine/Tests/ORM/Functional/NativeQueryTest.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -224,13 +224,13 @@
 block discarded – undo
224 224
 
225 225
         $q = $this->em->createNativeQuery('SELECT id, name, status, phonenumber FROM cms_users INNER JOIN cms_phonenumbers ON id = user_id WHERE username = ?', $rsm);
226 226
         $q2 = $q->setSQL('foo')
227
-          ->setResultSetMapping($rsm)
228
-          ->expireResultCache(true)
229
-          ->setHint('foo', 'bar')
230
-          ->setParameter(1, 'foo')
231
-          ->setParameters($parameters)
232
-          ->setResultCacheDriver(null)
233
-          ->setResultCacheLifetime(3500);
227
+            ->setResultSetMapping($rsm)
228
+            ->expireResultCache(true)
229
+            ->setHint('foo', 'bar')
230
+            ->setParameter(1, 'foo')
231
+            ->setParameters($parameters)
232
+            ->setResultCacheDriver(null)
233
+            ->setResultCacheLifetime(3500);
234 234
 
235 235
         self::assertSame($q, $q2);
236 236
     }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 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;
6 6
 
@@ -436,8 +436,8 @@  discard block
 block discarded – undo
436 436
 
437 437
         self::assertCount(1, $result);
438 438
         self::assertInstanceOf(CmsAddress::class, $result[0]);
439
-        self::assertEquals($addr->id,  $result[0]->id);
440
-        self::assertEquals($addr->city,  $result[0]->city);
439
+        self::assertEquals($addr->id, $result[0]->id);
440
+        self::assertEquals($addr->city, $result[0]->city);
441 441
         self::assertEquals($addr->country, $result[0]->country);
442 442
     }
443 443
 
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
         $email = new CmsEmail();
456 456
 
457
-        $email->email   = '[email protected]';
457
+        $email->email = '[email protected]';
458 458
 
459 459
         $user->setEmail($email);
460 460
 
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
         $repository = $this->em->getRepository(CmsUser::class);
606 606
         $result     = $repository
607 607
             ->createNativeNamedQuery('fetchUserPhonenumberCount')
608
-            ->setParameter(1, ['test','FabioBatSilva'])->getResult();
608
+            ->setParameter(1, ['test', 'FabioBatSilva'])->getResult();
609 609
 
610 610
         self::assertEquals(2, count($result));
611 611
         self::assertTrue(is_array($result[0]));
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
 
833 833
         $rsm->addRootEntityFromClassMetadata(CmsUser::class, 'u');
834 834
 
835
-        self::assertSQLEquals('u.id AS id0, u.status AS status1, u.username AS username2, u.name AS name3, u.email_id AS email_id4', (string)$rsm);
835
+        self::assertSQLEquals('u.id AS id0, u.status AS status1, u.username AS username2, u.name AS name3, u.email_id AS email_id4', (string) $rsm);
836 836
     }
837 837
 
838 838
     /**
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SecondLevelCacheRepositoryTest.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/PersistentCollectionCriteriaTest.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/OneToManyOrphanRemovalTest.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;
6 6
 
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Functional/OneToManyUnidirectionalAssociationTest.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;
6 6
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         try {
79 79
             // exception depending on the underlying Database Driver
80 80
             $this->em->flush();
81
-        } catch(\Exception $e) {
81
+        } catch (\Exception $e) {
82 82
             $exceptionThrown = true;
83 83
         }
84 84
 
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Functional/AbstractManyToManyAssociationTestCase.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SecondLevelCacheAbstractTest.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;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC168Test.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\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC5684Test.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\Ticket;
6 6
 
Please login to merge, or discard this patch.