Failed Conditions
Pull Request — master (#7046)
by Gabriel
13:07
created
tests/Doctrine/Tests/ORM/Tools/Pagination/PaginationTestCase.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\Tools\Pagination;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Cache/CacheLoggerChainTest.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\Cache;
6 6
 
Please login to merge, or discard this patch.
Tests/ORM/Cache/Persister/Entity/ReadWriteCachedEntityPersisterTest.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\Cache\Persister\Entity;
6 6
 
Please login to merge, or discard this patch.
ORM/Cache/Persister/Collection/ReadOnlyCachedCollectionPersisterTest.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\Cache\Persister\Collection;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Cache/DefaultQueryCacheTest.php 1 patch
Spacing   +4 added lines, -4 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\Cache;
6 6
 
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
         $uow->registerManaged($state, ['id' => $state->getId()], ['name' => $city->getName()]);
398 398
         $uow->registerManaged($city, ['id' => $city->getId()], ['name' => $city->getName(), 'state' => $state]);
399 399
 
400
-        $this->region->addReturn('put', true);  // put root entity
400
+        $this->region->addReturn('put', true); // put root entity
401 401
         $this->region->addReturn('put', false); // association fails
402 402
 
403 403
         self::assertFalse($this->queryCache->put($key, $rsm, $result));
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
         $uow->registerManaged($city2, ['id' => $city2->getId()], ['name' => $city2->getName(), 'state' => $state]);
431 431
         $uow->registerManaged($state, ['id' => $state->getId()], ['name' => $state->getName(), 'cities' => $state->getCities()]);
432 432
 
433
-        $this->region->addReturn('put', true);  // put root entity
433
+        $this->region->addReturn('put', true); // put root entity
434 434
         $this->region->addReturn('put', false); // collection association fails
435 435
 
436 436
         self::assertFalse($this->queryCache->put($key, $rsm, $result));
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
         $attractions = $reflection->invoke($this->queryCache, $rsm, 'a', $bavaria);
599 599
 
600 600
         self::assertCount(2, $cities);
601
-        self::assertCount(2,  $attractions);
601
+        self::assertCount(2, $attractions);
602 602
 
603 603
         self::assertInstanceOf(Collection::class, $cities);
604 604
         self::assertInstanceOf(Collection::class, $attractions[0]);
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/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.