Passed
Pull Request — master (#7195)
by Grégoire
13:03
created
lib/Doctrine/ORM/Reflection/ReflectionService.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\Reflection;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/RuntimeReflectionService.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\Reflection;
7 7
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function getParentClasses(string $className) : array
21 21
     {
22
-        if (! class_exists($className)) {
22
+        if ( ! class_exists($className)) {
23 23
             throw MappingException::nonExistingClass($className);
24 24
         }
25 25
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/EmbeddedClassMetadata.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.
ORM/Mapping/Driver/Annotation/Binder/EmbeddableClassMetadataBinder.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\Annotation\Binder;
6 6
 
Please login to merge, or discard this patch.
Doctrine/ORM/Mapping/Driver/Annotation/Binder/EntityClassMetadataBinder.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\Annotation\Binder;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/ClassMetadataDefinition.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/AbstractClassMetadataFactory.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
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 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/ClassMetadataDefinitionFactory.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
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     {
43 43
         $definition = $this->createDefinition($className, $parentMetadata);
44 44
 
45
-        if (! class_exists($definition->metadataClassName, false)) {
45
+        if ( ! class_exists($definition->metadataClassName, false)) {
46 46
             $metadataClassPath = $this->resolver->resolveMetadataClassPath($className);
47 47
 
48 48
             $this->generatorStrategy->generate($metadataClassPath, $definition);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/ClassMetadataBuildingContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * <http://www.doctrine-project.org>.
19 19
  */
20 20
 
21
-declare(strict_types=1);
21
+declare(strict_types = 1);
22 22
 
23 23
 namespace Doctrine\ORM\Mapping;
24 24
 
Please login to merge, or discard this patch.