Failed Conditions
Pull Request — develop (#6692)
by Stefano
62:14
created
lib/Doctrine/ORM/Query/SLCacheCapable.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Pageable.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/QueryCacheCapable.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Lockable.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/DQLCapable.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\Query;
6 6
 
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * A query object is in CLEAN state when it has NO unparsed/unprocessed DQL parts.
11 11
      */
12
-    const STATE_CLEAN  = 1;
12
+    const STATE_CLEAN = 1;
13 13
 
14 14
     /**
15 15
      * A query object is in state DIRTY when it has DQL parts that have not yet been
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/ResultCacheCapable.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/SimpleQuery.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\Query;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query.php 1 patch
Spacing   +7 added lines, -7 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
 
@@ -633,11 +633,11 @@  discard block
 block discarded – undo
633 633
             ->getName();
634 634
 
635 635
         return md5(
636
-            $this->getDQL() . serialize($this->hints) .
637
-            '&platform=' . $platform .
638
-            ($this->em->hasFilters() ? $this->em->getFilters()->getHash() : '') .
639
-            '&firstResult=' . $this->firstResult . '&maxResult=' . $this->maxResults .
640
-            '&hydrationMode=' . $this->hydrationMode . '&types=' . serialize($this->parsedTypes) . 'DOCTRINE_QUERY_CACHE_SALT'
636
+            $this->getDQL().serialize($this->hints).
637
+            '&platform='.$platform.
638
+            ($this->em->hasFilters() ? $this->em->getFilters()->getHash() : '').
639
+            '&firstResult='.$this->firstResult.'&maxResult='.$this->maxResults.
640
+            '&hydrationMode='.$this->hydrationMode.'&types='.serialize($this->parsedTypes).'DOCTRINE_QUERY_CACHE_SALT'
641 641
         );
642 642
     }
643 643
 
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
      */
647 647
     protected function getHash()
648 648
     {
649
-        return sha1(parent::getHash(). '-'. $this->firstResult . '-' . $this->maxResults);
649
+        return sha1(parent::getHash().'-'.$this->firstResult.'-'.$this->maxResults);
650 650
     }
651 651
 
652 652
     /**
Please login to merge, or discard this patch.