Failed Conditions
Pull Request — master (#7155)
by Gabriel
12:44
created
Performance/Hydration/SimpleQueryPartialObjectHydrationPerformanceBench.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\Performance\Hydration;
6 6
 
Please login to merge, or discard this patch.
Performance/Hydration/SimpleQueryScalarHydrationPerformanceBench.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\Performance\Hydration;
6 6
 
Please login to merge, or discard this patch.
Performance/Hydration/SimpleQueryFullObjectHydrationPerformanceBench.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\Performance\Hydration;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Performance/LazyLoading/ProxyInstantiationTimeBench.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\Performance\LazyLoading;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Performance/Mock/NonProxyLoadingUnitOfWork.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\Performance\Mock;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/DiscriminatorColumnMetadata.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.
lib/Doctrine/ORM/Mapping/Exporter/DiscriminatorColumnMetadataExporter.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\Exporter;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Exporter/JoinColumnMetadataExporter.php 1 patch
Spacing   +5 added lines, -5 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\Mapping\Exporter;
7 7
 
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
     {
19 19
         /** @var JoinColumnMetadata $value */
20 20
         $indentation     = str_repeat(self::INDENTATION, $indentationLevel);
21
-        $objectReference = $indentation . static::VARIABLE;
21
+        $objectReference = $indentation.static::VARIABLE;
22 22
         $lines           = [];
23 23
 
24 24
         $lines[] = parent::export($value, $indentationLevel);
25
-        $lines[] = $objectReference . '->setReferencedColumnName("' . $value->getReferencedColumnName() . '");';
26
-        $lines[] = $objectReference . '->setAliasedName("' . $value->getAliasedName() . '");';
27
-        $lines[] = $objectReference . '->setOnDelete("' . $value->getOnDelete() . '");';
25
+        $lines[] = $objectReference.'->setReferencedColumnName("'.$value->getReferencedColumnName().'");';
26
+        $lines[] = $objectReference.'->setAliasedName("'.$value->getAliasedName().'");';
27
+        $lines[] = $objectReference.'->setOnDelete("'.$value->getOnDelete().'");';
28 28
 
29 29
         return implode(PHP_EOL, $lines);
30 30
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Exporter/ToManyAssociationMetadataExporter.php 1 patch
Spacing   +5 added lines, -5 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\Mapping\Exporter;
7 7
 
@@ -17,16 +17,16 @@  discard block
 block discarded – undo
17 17
         /** @var ToManyAssociationMetadata $value */
18 18
         $variableExporter = new VariableExporter();
19 19
         $indentation      = str_repeat(self::INDENTATION, $indentationLevel);
20
-        $objectReference  = $indentation . static::VARIABLE;
20
+        $objectReference  = $indentation.static::VARIABLE;
21 21
         $lines            = [];
22 22
 
23 23
         $lines[] = parent::export($value, $indentationLevel);
24 24
 
25
-        if (! empty($value->getIndexedBy())) {
26
-            $lines[] = $objectReference . '->setIndexedBy("' . $value->getIndexedBy() . '"");';
25
+        if ( ! empty($value->getIndexedBy())) {
26
+            $lines[] = $objectReference.'->setIndexedBy("'.$value->getIndexedBy().'"");';
27 27
         }
28 28
 
29
-        $lines[] = $objectReference . '->setOderBy(' . $variableExporter->export($value->getOrderBy(), $indentationLevel + 1) . ');';
29
+        $lines[] = $objectReference.'->setOderBy('.$variableExporter->export($value->getOrderBy(), $indentationLevel + 1).');';
30 30
 
31 31
         return implode(PHP_EOL, $lines);
32 32
     }
Please login to merge, or discard this patch.