Failed Conditions
Pull Request — develop (#6600)
by Mike
62:56
created
ORM/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Collection;
7 7
 
Please login to merge, or discard this patch.
ORM/Cache/Persister/Collection/ReadOnlyCachedCollectionPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Collection;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Collection/CachedCollectionPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Collection;
7 7
 
Please login to merge, or discard this patch.
Cache/Persister/Collection/NonStrictReadWriteCachedCollectionPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Collection;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Collection/AbstractCollectionPersister.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Collection;
7 7
 
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         $targetHydrator  = $targetPersister->getEntityHydrator();
164 164
 
165 165
         // Only preserve ordering if association configured it
166
-        if (! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) {
166
+        if ( ! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) {
167 167
             // Elements may be an array or a Collection
168 168
             $elements = array_values(is_array($elements) ? $elements : $elements->getValues());
169 169
         }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Entity;
7 7
 
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
             ? $this->persister->expandCriteriaParameters($criteria)
283 283
             : $this->persister->expandParameters($criteria);
284 284
 
285
-        return sha1($query . serialize($params) . serialize($orderBy) . $limit . $offset);
285
+        return sha1($query.serialize($params).serialize($orderBy).$limit.$offset);
286 286
     }
287 287
 
288 288
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/ReadOnlyCachedEntityPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Entity;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Entity;
7 7
 
Please login to merge, or discard this patch.
ORM/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Cache\Persister\Entity;
7 7
 
Please login to merge, or discard this patch.