Failed Conditions
Push — develop ( c47956...348e78 )
by Marco
17s
created
lib/Doctrine/ORM/Mapping/Factory/ClassMetadataBuildingContext.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.
lib/Doctrine/ORM/Mapping/Factory/Autoloader.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\Factory;
7 7
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         // remove namespace separators from remaining class name
39 39
         $fileName = str_replace('\\', '', $classNameRelativeToMetadataNamespace);
40 40
 
41
-        return $metadataDir . DIRECTORY_SEPARATOR . $fileName . '.php';
41
+        return $metadataDir.DIRECTORY_SEPARATOR.$fileName.'.php';
42 42
     }
43 43
 
44 44
     /**
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $metadataNamespace = ltrim($metadataNamespace, '\\');
62 62
 
63
-        if (! (null === $notFoundCallback || is_callable($notFoundCallback))) {
63
+        if ( ! (null === $notFoundCallback || is_callable($notFoundCallback))) {
64 64
             $type = is_object($notFoundCallback) ? get_class($notFoundCallback) : gettype($notFoundCallback);
65 65
 
66 66
             throw new InvalidArgumentException(
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             );
69 69
         }
70 70
 
71
-        $autoloader = function ($className) use ($metadataDir, $metadataNamespace, $notFoundCallback) {
71
+        $autoloader = function($className) use ($metadataDir, $metadataNamespace, $notFoundCallback) {
72 72
             if (0 === strpos($className, $metadataNamespace)) {
73 73
                 $file = Autoloader::resolveFile($metadataDir, $metadataNamespace, $className);
74 74
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/AbstractClassMetadataFactory.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\Factory;
7 7
 
@@ -179,9 +179,9 @@  discard block
 block discarded – undo
179 179
      *
180 180
      * @return ClassMetadataDefinition
181 181
      */
182
-    private function getOrCreateClassMetadataDefinition(string $className, ?ClassMetadata $parent) : ClassMetadataDefinition
182
+    private function getOrCreateClassMetadataDefinition(string $className, ? ClassMetadata $parent) : ClassMetadataDefinition
183 183
     {
184
-        if (! isset($this->definitions[$className])) {
184
+        if ( ! isset($this->definitions[$className])) {
185 185
             $this->definitions[$className] = $this->definitionFactory->build($className, $parent);
186 186
         }
187 187
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/StaticClassMetadataFactory.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\Mapping\Factory;
7 7
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     protected function getReflectionService() : StaticReflectionService
28 28
     {
29
-        if (! $this->reflectionService) {
29
+        if ( ! $this->reflectionService) {
30 30
             $this->reflectionService = new StaticReflectionService();
31 31
         }
32 32
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Property.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/LocalColumnMetadata.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;
7 7
 
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
         return $this->valueGenerator !== null;
81 81
     }
82 82
 
83
-    public function getValueGenerator(): ?ValueGeneratorMetadata
83
+    public function getValueGenerator(): ? ValueGeneratorMetadata
84 84
     {
85 85
         return $this->valueGenerator;
86 86
     }
87 87
 
88
-    public function setValueGenerator(?ValueGeneratorMetadata $valueGenerator): void
88
+    public function setValueGenerator(? ValueGeneratorMetadata $valueGenerator) : void
89 89
     {
90 90
         $this->valueGenerator = $valueGenerator;
91 91
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/ValueGeneratorMetadata.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/ToOneAssociationMetadata.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/FetchMode.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.