Failed Conditions
Pull Request — develop (#6600)
by Mike
62:56
created
lib/Doctrine/ORM/Events.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/Reflection/RuntimeReflectionService.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\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
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * {@inheritdoc}
51 51
      */
52
-    public function getClass(string $className) : ?\ReflectionClass
52
+    public function getClass(string $className) : ? \ReflectionClass
53 53
     {
54 54
         return new \ReflectionClass($className);
55 55
     }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * {@inheritdoc}
59 59
      */
60
-    public function getAccessibleProperty(string $className, string $propertyName) : ?\ReflectionProperty
60
+    public function getAccessibleProperty(string $className, string $propertyName) : ? \ReflectionProperty
61 61
     {
62 62
         $reflectionProperty = new \ReflectionProperty($className, $propertyName);
63 63
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/StaticReflectionService.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\Reflection;
7 7
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function getClassShortName(string $className) : string
27 27
     {
28 28
         if (strpos($className, '\\') !== false) {
29
-            $className = substr($className, strrpos($className, "\\")+1);
29
+            $className = substr($className, strrpos($className, "\\") + 1);
30 30
         }
31 31
         return $className;
32 32
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $namespace = '';
40 40
 
41 41
         if (strpos($className, '\\') !== false) {
42
-            $namespace = strrev(substr( strrev($className), strpos(strrev($className), '\\')+1 ));
42
+            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\') + 1));
43 43
         }
44 44
 
45 45
         return $namespace;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * {@inheritDoc}
50 50
      */
51
-    public function getClass(string $className) : ?\ReflectionClass
51
+    public function getClass(string $className) : ? \ReflectionClass
52 52
     {
53 53
         return null;
54 54
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * {@inheritDoc}
58 58
      */
59
-    public function getAccessibleProperty(string $className, string $propertyName) : ?\ReflectionProperty
59
+    public function getAccessibleProperty(string $className, string $propertyName) : ? \ReflectionProperty
60 60
     {
61 61
         return null;
62 62
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Reflection/RuntimePublicReflectionProperty.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/ReflectionService.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\Reflection;
7 7
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return \ReflectionClass|null
51 51
      */
52
-    public function getClass(string $className) : ?\ReflectionClass;
52
+    public function getClass(string $className) : ? \ReflectionClass;
53 53
 
54 54
     /**
55 55
      * Returns an accessible property (setAccessible(true)) or null.
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return \ReflectionProperty|null
61 61
      */
62
-    public function getAccessibleProperty(string $className, string $propertyName) : ?\ReflectionProperty;
62
+    public function getAccessibleProperty(string $className, string $propertyName) : ? \ReflectionProperty;
63 63
 
64 64
     /**
65 65
      * Checks if the class have a public method with the given name.
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Version.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/Event/OnFlushEventArgs.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\Event;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.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\Event;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Event/PostFlushEventArgs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Doctrine\ORM\Event;
5 5
 
Please login to merge, or discard this patch.