Passed
Pull Request — master (#7195)
by Grégoire
13:03
created
lib/Doctrine/ORM/Mapping/Exporter/ToOneAssociationMetadataExporter.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\Mapping\Exporter;
7 7
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         /** @var ToOneAssociationMetadata $value */
18 18
         $joinColumnExporter = new JoinColumnMetadataExporter();
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);
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
             $lines[] = null;
27 27
             $lines[] = $joinColumnExporter->export($joinColumn, $indentationLevel);
28 28
             $lines[] = null;
29
-            $lines[] = $objectReference . '->addJoinColumn(' . $joinColumnExporter::VARIABLE . ');';
29
+            $lines[] = $objectReference.'->addJoinColumn('.$joinColumnExporter::VARIABLE.');';
30 30
         }
31 31
 
32 32
         return implode(PHP_EOL, $lines);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Exporter/CacheMetadataExporter.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\Mapping\Exporter;
7 7
 
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
     {
19 19
         /** @var CacheMetadata $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
-        $lines[] = $objectReference . ' = ' . $this->exportInstantiation($value);
24
+        $lines[] = $objectReference.' = '.$this->exportInstantiation($value);
25 25
 
26 26
         return implode(PHP_EOL, $lines);
27 27
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Exporter/JoinTableMetadataExporter.php 1 patch
Spacing   +4 added lines, -4 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
 
@@ -19,19 +19,19 @@  discard block
 block discarded – undo
19 19
         /** @var JoinTableMetadata $value */
20 20
         $joinColumnExporter = new JoinColumnMetadataExporter();
21 21
         $indentation        = str_repeat(self::INDENTATION, $indentationLevel);
22
-        $objectReference    = $indentation . static::VARIABLE;
22
+        $objectReference    = $indentation.static::VARIABLE;
23 23
         $lines              = [];
24 24
 
25 25
         $lines[] = parent::export($value, $indentationLevel);
26 26
 
27 27
         foreach ($value->getJoinColumns() as $joinColumn) {
28 28
             $lines[] = $joinColumnExporter->export($joinColumn, $indentationLevel);
29
-            $lines[] = $objectReference . '->addJoinColumn(' . $joinColumnExporter::VARIABLE . ');';
29
+            $lines[] = $objectReference.'->addJoinColumn('.$joinColumnExporter::VARIABLE.');';
30 30
         }
31 31
 
32 32
         foreach ($value->getInverseJoinColumns() as $inverseJoinColumn) {
33 33
             $lines[] = $joinColumnExporter->export($inverseJoinColumn, $indentationLevel);
34
-            $lines[] = $objectReference . '->addInverseJoinColumn(' . $joinColumnExporter::VARIABLE . ');';
34
+            $lines[] = $objectReference.'->addInverseJoinColumn('.$joinColumnExporter::VARIABLE.');';
35 35
         }
36 36
 
37 37
         return implode(PHP_EOL, $lines);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/ClassMetadataResolver.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\Factory;
7 7
 
Please login to merge, or discard this patch.
ORM/Mapping/Factory/Strategy/FileReaderClassMetadataGeneratorStrategy.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\Factory\Strategy;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Driver/SimplifiedXmlDriver.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Proxy/Factory/ProxyFactory.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\Proxy\Factory;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/NonUniqueResultException.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;
6 6
 
Please login to merge, or discard this patch.
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.