Passed
Push — master ( 3e65b5...d395e8 )
by David
01:44
created
src/Annotations/Factory.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 TheCodingMachine\Funky\Annotations;
5 5
 use Doctrine\Common\Annotations\AnnotationException;
Please login to merge, or discard this patch.
src/BadModifierException.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 TheCodingMachine\Funky;
5 5
 
Please login to merge, or discard this patch.
src/Injections/ServiceInjection.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 TheCodingMachine\Funky\Injections;
5 5
 
Please login to merge, or discard this patch.
src/ServiceProvider.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 TheCodingMachine\Funky;
5 5
 
Please login to merge, or discard this patch.
src/FactoryDefinition.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $returnTypeCode,
88 88
             $this->reflectionMethod->getDeclaringClass()->getName(),
89 89
             $this->reflectionMethod->getName(),
90
-            implode(', ', array_map(function(Injection $injection) {return $injection->getCode();}, $this->getInjections()))
90
+            implode(', ', array_map(function(Injection $injection) {return $injection->getCode(); }, $this->getInjections()))
91 91
         );
92 92
     }
93 93
 
@@ -104,10 +104,10 @@  discard block
 block discarded – undo
104 104
             if ($type === null || $type->isBuiltin()) {
105 105
                 return new ServiceInjection($reflectionParameter->getName(), !$reflectionParameter->allowsNull());
106 106
             }
107
-            if (((string)$type) === ContainerInterface::class) {
107
+            if (((string) $type) === ContainerInterface::class) {
108 108
                 return new ContainerInjection();
109 109
             }
110
-            return new ServiceInjection((string)$type, !$reflectionParameter->allowsNull());
110
+            return new ServiceInjection((string) $type, !$reflectionParameter->allowsNull());
111 111
         }, $this->getReflectionMethod()->getParameters());
112 112
     }
113 113
 
Please login to merge, or discard this patch.
src/Injections/ContainerInjection.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 TheCodingMachine\Funky\Injections;
5 5
 
Please login to merge, or discard this patch.