Failed Conditions
Pull Request — develop (#6743)
by Grégoire
62:30
created
lib/Doctrine/ORM/Internal/HydrationCompleteHandler.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\Internal;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Internal/Hydration/ScalarHydrator.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\Internal\Hydration;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Internal/Hydration/IterableResult.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\ORM\Internal\Hydration;
6 6
 
@@ -90,6 +90,6 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function valid()
92 92
     {
93
-        return ($this->current!=false);
93
+        return ($this->current != false);
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Internal/Hydration/HydrationException.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\ORM\Internal\Hydration;
6 6
 
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public static function emptyDiscriminatorValue($dqlAlias)
35 35
     {
36
-        return new self("The DQL alias '" . $dqlAlias . "' contains an entity ".
37
-            "of an inheritance hierarchy with an empty discriminator value. This means " .
38
-            "that the database contains inconsistent data with an empty " .
36
+        return new self("The DQL alias '".$dqlAlias."' contains an entity ".
37
+            "of an inheritance hierarchy with an empty discriminator value. This means ".
38
+            "that the database contains inconsistent data with an empty ".
39 39
             "discriminator value in a table row."
40 40
         );
41 41
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Event/OnFlushEventArgs.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\Event;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Decorator/EntityManagerDecorator.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\Decorator;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/TimestampQueryCacheValidator.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;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Lock.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;
7 7
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function __construct($value, $time = null)
31 31
     {
32 32
         $this->value = $value;
33
-        $this->time  = $time ? : time();
33
+        $this->time  = $time ?: time();
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/EntityCacheKey.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;
7 7
 
@@ -37,6 +37,6 @@  discard block
 block discarded – undo
37 37
 
38 38
         $this->identifier  = $identifier;
39 39
         $this->entityClass = $entityClass;
40
-        $this->hash        = str_replace('\\', '.', strtolower($entityClass) . '_' . implode(' ', $identifier));
40
+        $this->hash        = str_replace('\\', '.', strtolower($entityClass).'_'.implode(' ', $identifier));
41 41
     }
42 42
 }
Please login to merge, or discard this patch.