Failed Conditions
CANCELLED  
Pull Request — master (#7095)
by Benjamin
10:13
created
tests/Doctrine/Tests/ORM/Tools/Console/Command/InfoCommandTest.php 2 patches
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\Console\Command;
6 6
 
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -60,13 +60,13 @@  discard block
 block discarded – undo
60 60
         $em            = $this->createMock(EntityManagerInterface::class);
61 61
 
62 62
         $mappingDriver->method('getAllClassNames')
63
-                      ->willReturn([]);
63
+                        ->willReturn([]);
64 64
 
65 65
         $configuration->method('getMetadataDriverImpl')
66
-                      ->willReturn($mappingDriver);
66
+                        ->willReturn($mappingDriver);
67 67
 
68 68
         $em->method('getConfiguration')
69
-           ->willReturn($configuration);
69
+            ->willReturn($configuration);
70 70
 
71 71
         $application = new Application();
72 72
         $application->setHelperSet(new HelperSet(['em' => new EntityManagerHelper($em)]));
@@ -95,17 +95,17 @@  discard block
 block discarded – undo
95 95
         $em            = $this->createMock(EntityManagerInterface::class);
96 96
 
97 97
         $mappingDriver->method('getAllClassNames')
98
-                      ->willReturn(['InvalidEntity']);
98
+                        ->willReturn(['InvalidEntity']);
99 99
 
100 100
         $configuration->method('getMetadataDriverImpl')
101
-                      ->willReturn($mappingDriver);
101
+                        ->willReturn($mappingDriver);
102 102
 
103 103
         $em->method('getConfiguration')
104
-           ->willReturn($configuration);
104
+            ->willReturn($configuration);
105 105
 
106 106
         $em->method('getClassMetadata')
107
-           ->with('InvalidEntity')
108
-           ->willThrowException(new MappingException('exception message'));
107
+            ->with('InvalidEntity')
108
+            ->willThrowException(new MappingException('exception message'));
109 109
 
110 110
         $application = new Application();
111 111
         $application->setHelperSet(new HelperSet(['em' => new EntityManagerHelper($em)]));
Please login to merge, or discard this patch.
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/Tools/Pagination/WhereInWalkerTest.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\Tools\Pagination;
6 6
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function testWhereInQueryWithArbitraryJoin_NoWhere()
139 139
     {
140
-        $whereInQuery  = $this->entityManager->createQuery(
140
+        $whereInQuery = $this->entityManager->createQuery(
141 141
             'SELECT p FROM Doctrine\Tests\ORM\Tools\Pagination\BlogPost p JOIN Doctrine\Tests\ORM\Tools\Pagination\Category c WITH p.category = c'
142 142
         );
143 143
         $whereInQuery->setHint(Query::HINT_CUSTOM_TREE_WALKERS, [WhereInWalker::class]);
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.
Doctrine/Tests/ORM/Cache/Persister/Entity/AbstractEntityPersisterTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@
 block discarded – undo
106 106
         $this->em               = $this->getTestEntityManager();
107 107
         $this->region           = $this->createRegion();
108 108
         $this->entityPersister  = $this->getMockBuilder(EntityPersister::class)
109
-                                       ->setMethods($this->entityPersisterMockMethods)
110
-                                       ->getMock();
109
+                                        ->setMethods($this->entityPersisterMockMethods)
110
+                                        ->getMock();
111 111
     }
112 112
 
113 113
     /**
Please login to merge, or discard this 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/ORM/Cache/Persister/Collection/AbstractCollectionPersisterTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@
 block discarded – undo
90 90
         $this->em                   = $this->getTestEntityManager();
91 91
         $this->region               = $this->createRegion();
92 92
         $this->collectionPersister  = $this->getMockBuilder(CollectionPersister::class)
93
-                                           ->setMethods($this->collectionPersisterMockMethods)
94
-                                           ->getMock();
93
+                                            ->setMethods($this->collectionPersisterMockMethods)
94
+                                            ->getMock();
95 95
     }
96 96
 
97 97
     /**
Please login to merge, or discard this 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.