Failed Conditions
CANCELLED  
Pull Request — master (#7095)
by Benjamin
10:13
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   +5 added lines, -5 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
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     public function testThrowsExceptionOnNonObjectValues($methodName)
168 168
     {
169 169
         $this->expectException(ORMInvalidArgumentException::class);
170
-        $this->expectExceptionMessage('EntityManager#' . $methodName . '() expects parameter 1 to be an entity object, NULL given.');
170
+        $this->expectExceptionMessage('EntityManager#'.$methodName.'() expects parameter 1 to be an entity object, NULL given.');
171 171
 
172 172
         $this->em->{$methodName}(null);
173 173
     }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     {
212 212
         self::assertSame(
213 213
             $value,
214
-            $this->em->transactional(function ($em) use ($value) {
214
+            $this->em->transactional(function($em) use ($value) {
215 215
                 return $value;
216 216
             })
217 217
         );
@@ -244,8 +244,8 @@  discard block
 block discarded – undo
244 244
     public function testTransactionalReThrowsThrowables()
245 245
     {
246 246
         try {
247
-            $this->em->transactional(function () {
248
-                (function (array $value) {
247
+            $this->em->transactional(function() {
248
+                (function(array $value) {
249 249
                     // this only serves as an IIFE that throws a `TypeError`
250 250
                 })(null);
251 251
             });
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/DDC3293/DDC3293Address.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\DDC3293;
6 6
 
Please login to merge, or discard this patch.