Test Setup Failed
Pull Request — master (#16)
by
unknown
05:56
created
src/CreationStrategies/ReflectionStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
         }
36 36
 
37 37
         return $this->getReflectionParametersFromReflectionClass()->reject(
38
-            function (ReflectionParameter $constructorParameter) {
38
+            function(ReflectionParameter $constructorParameter) {
39 39
                 return $constructorParameter->isOptional();
40 40
             }
41 41
         )->map(
42
-            function (ReflectionParameter $constructorParameter) {
42
+            function(ReflectionParameter $constructorParameter) {
43 43
                 return $constructorParameter->name;
44 44
             }
45 45
         )->all();
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         }
56 56
 
57 57
         return $this->getReflectionParametersFromReflectionClass()->map(
58
-            function (ReflectionParameter $constructorParameter) use ($config) {
58
+            function(ReflectionParameter $constructorParameter) use ($config) {
59 59
                 return $this->resolveConstructorParameterValue($constructorParameter, $config);
60 60
             }
61 61
         )->all();
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function getConfigurationCallable(array $config): callable
68 68
     {
69
-        return $config['configure'] ?? function ($instance) {
69
+        return $config['configure'] ?? function($instance) {
70 70
             return $instance;
71 71
         };
72 72
     }
Please login to merge, or discard this patch.
src/CreationStrategies/StreamHandlerStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getConfigurationCallable(array $config): callable
40 40
     {
41
-        return function (StreamHandler $instance) {
41
+        return function(StreamHandler $instance) {
42 42
             return $instance;
43 43
         };
44 44
     }
Please login to merge, or discard this patch.
src/Yii2LogMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
         if ($message instanceof \Throwable) {
170 170
             $this->exception = $message;
171 171
 
172
-            return \get_class($message) . ': ' . $message->getMessage();
172
+            return \get_class($message).': '.$message->getMessage();
173 173
         }
174 174
 
175 175
         return VarDumper::export($message);
Please login to merge, or discard this patch.