Failed Conditions
Push — develop ( 9800ca...d1cf9a )
by Marco
272:19 queued 264:21
created
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
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         $targetHydrator  = $targetPersister->getEntityHydrator();
165 165
 
166 166
         // Only preserve ordering if association configured it
167
-        if (! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) {
167
+        if ( ! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) {
168 168
             // Elements may be an array or a Collection
169 169
             $elements = \array_values($elements instanceof Collection ? $elements->getValues() : $elements);
170 170
         }
Please login to merge, or discard this patch.
ORM/Mapping/Driver/Annotation/Binder/MappedSuperClassMetadataBinder.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\ORM\Mapping\Driver\Annotation\Binder;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC6303Test.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\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/ReflectionService.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\ORM\Reflection;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/StaticReflectionService.php 1 patch
Spacing   +3 added lines, -3 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\Reflection;
7 7
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function getClassShortName(string $className) : string
27 27
     {
28 28
         if (strpos($className, '\\') !== false) {
29
-            $className = substr($className, strrpos($className, "\\")+1);
29
+            $className = substr($className, strrpos($className, "\\") + 1);
30 30
         }
31 31
         return $className;
32 32
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $namespace = '';
40 40
 
41 41
         if (strpos($className, '\\') !== false) {
42
-            $namespace = strrev(substr( strrev($className), strpos(strrev($className), '\\')+1 ));
42
+            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\') + 1));
43 43
         }
44 44
 
45 45
         return $namespace;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/RuntimeReflectionService.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\Reflection;
7 7
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function getParentClasses(string $className) : array
21 21
     {
22
-        if (! class_exists($className)) {
22
+        if ( ! class_exists($className)) {
23 23
             throw MappingException::nonExistingClass($className);
24 24
         }
25 25
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/EmbeddedClassMetadata.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\Mapping;
7 7
 
Please login to merge, or discard this patch.
ORM/Mapping/Driver/Annotation/Binder/EmbeddableClassMetadataBinder.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\ORM\Mapping\Driver\Annotation\Binder;
6 6
 
Please login to merge, or discard this patch.
Doctrine/ORM/Mapping/Driver/Annotation/Binder/EntityClassMetadataBinder.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\ORM\Mapping\Driver\Annotation\Binder;
6 6
 
Please login to merge, or discard this patch.