Failed Conditions
Push — develop ( 856053...a7d1bd )
by Guilherme
61:28
created
tests/Doctrine/Tests/ORM/EntityManagerTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     public function testCreateQueryBuilderAliasValid()
106 106
     {
107 107
         $q = $this->em->createQueryBuilder()
108
-             ->select('u')->from(CmsUser::class, 'u');
108
+                ->select('u')->from(CmsUser::class, 'u');
109 109
         $q2 = clone $q;
110 110
 
111 111
         self::assertEquals('SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u', $q->getQuery()->getDql());
Please login to merge, or discard this 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;
6 6
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function testThrowsExceptionOnNonObjectValues($methodName) {
166 166
         $this->expectException(ORMInvalidArgumentException::class);
167
-        $this->expectExceptionMessage('EntityManager#' . $methodName . '() expects parameter 1 to be an entity object, NULL given.');
167
+        $this->expectExceptionMessage('EntityManager#'.$methodName.'() expects parameter 1 to be an entity object, NULL given.');
168 168
 
169 169
         $this->em->$methodName(null);
170 170
     }
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         self::assertSame(
211 211
             $value,
212
-            $this->em->transactional(function ($em) use ($value) {
212
+            $this->em->transactional(function($em) use ($value) {
213 213
                 return $value;
214 214
             })
215 215
         );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3231/DDC3231User2NoNamespace.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
 use Doctrine\ORM\Annotation as ORM;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3231/DDC3231EntityRepository.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\Models\DDC3231;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC6412/DDC6412File.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\Models\DDC6412;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Forum/ForumCategory.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\Models\Forum;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC2372/DDC2372User.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\Models\DDC2372;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC2372/Traits/DDC2372AddressTrait.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\Models\DDC2372\Traits;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3597/DDC3597Image.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\Models\DDC3597;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.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\Models\DDC3597;
6 6
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @return int
62 62
      */
63 63
     public function getId() {
64
-        return (int)$this->id;
64
+        return (int) $this->id;
65 65
     }
66 66
 
67 67
 
Please login to merge, or discard this patch.