Test Failed
Push — master ( 2df31f...44d1b7 )
by Bruno
03:45
created
Formularium/CodeGenerator/LaravelEloquent/CodeGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         return implode(
18 18
             ";\n",
19 19
             array_map(
20
-                function ($f) {
20
+                function($f) {
21 21
                     return '$table->' . $f;
22 22
                 },
23 23
                 $this->fields($model)
Please login to merge, or discard this patch.
Formularium/CodeGenerator/CodeGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,12 +25,12 @@
 block discarded – undo
25 25
     {
26 26
         $classes = DatatypeGeneratorFactory::factoryAll($this);
27 27
         $declarations = array_map(
28
-            function ($c) {
28
+            function($c) {
29 29
                 return $c->datatypeDeclaration();
30 30
             },
31 31
             $classes
32 32
         );
33
-        $cleanDeclarations = array_filter($declarations, function ($d) {
33
+        $cleanDeclarations = array_filter($declarations, function($d) {
34 34
             return $d;
35 35
         });
36 36
         return join("\n", $cleanDeclarations);
Please login to merge, or discard this patch.
Formularium/Factory/DatatypeGeneratorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $reflection = new ReflectionClass($codeGenerator);
67 67
         $classes = ClassFinder::getClassesInNamespace($reflection->getNamespaceName());
68 68
         return array_map(
69
-            function ($c) {
69
+            function($c) {
70 70
                 return new $c();
71 71
             },
72 72
             $classes
Please login to merge, or discard this patch.