Failed Conditions
Push — develop ( c47956...348e78 )
by Marco
17s
created
lib/Doctrine/ORM/Annotation/ManyToOne.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/PreUpdate.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/JoinTable.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/EntityListeners.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\Annotation;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/SqlResultSetMapping.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/Entity.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/Embedded.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Annotation/AttributeOverride.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\Annotation;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query.php 1 patch
Spacing   +8 added lines, -8 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;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * A query object is in CLEAN state when it has NO unparsed/unprocessed DQL parts.
28 28
      */
29
-    const STATE_CLEAN  = 1;
29
+    const STATE_CLEAN = 1;
30 30
 
31 31
     /**
32 32
      * A query object is in state DIRTY when it has DQL parts that have not yet been
@@ -717,11 +717,11 @@  discard block
 block discarded – undo
717 717
             ->getName();
718 718
 
719 719
         return md5(
720
-            $this->getDQL() . serialize($this->hints) .
721
-            '&platform=' . $platform .
722
-            ($this->em->hasFilters() ? $this->em->getFilters()->getHash() : '') .
723
-            '&firstResult=' . $this->firstResult . '&maxResult=' . $this->maxResults .
724
-            '&hydrationMode=' . $this->hydrationMode . '&types=' . serialize($this->parsedTypes) . 'DOCTRINE_QUERY_CACHE_SALT'
720
+            $this->getDQL().serialize($this->hints).
721
+            '&platform='.$platform.
722
+            ($this->em->hasFilters() ? $this->em->getFilters()->getHash() : '').
723
+            '&firstResult='.$this->firstResult.'&maxResult='.$this->maxResults.
724
+            '&hydrationMode='.$this->hydrationMode.'&types='.serialize($this->parsedTypes).'DOCTRINE_QUERY_CACHE_SALT'
725 725
         );
726 726
     }
727 727
 
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
      */
731 731
     protected function getHash()
732 732
     {
733
-        return sha1(parent::getHash(). '-'. $this->firstResult . '-' . $this->maxResults);
733
+        return sha1(parent::getHash().'-'.$this->firstResult.'-'.$this->maxResults);
734 734
     }
735 735
 
736 736
     /**
Please login to merge, or discard this patch.