Test Setup Failed
Push — master ( 1ae034...517bd8 )
by Attila
01:49
created
src/Console/Commands/ModelsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,15 +60,15 @@
 block discarded – undo
60 60
     {
61 61
         $table = [];
62 62
 
63
-        $bindings->map(function ($item, $key) {
63
+        $bindings->map(function($item, $key) {
64 64
             return [
65 65
                 'shortName' => substr(strrchr($key, '\\'), 1),
66 66
                 'abstract'  => $key,
67 67
                 'concrete'  => $item
68 68
             ];
69
-        })->sort(function ($a, $b) {
69
+        })->sort(function($a, $b) {
70 70
             return $a['shortName'] > $b['shortName'];
71
-        })->each(function ($binding) use (&$table) {
71
+        })->each(function($binding) use (&$table) {
72 72
             $table[] = [
73 73
                 $binding['shortName'],
74 74
                 $binding['abstract'],
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                                     ),
70 70
                                     '', static::class
71 71
                                 );
72
-        $this->id            = $this->getModuleId();
72
+        $this->id = $this->getModuleId();
73 73
     }
74 74
 
75 75
     public function register()
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
         $path = $this->getBasePath() . '/' . $this->convention->routesFolder();
262 262
 
263 263
         if (is_dir($path)) {
264
-            $routes = is_array($files) ? $files : collect(File::glob($path . '/*.php'))->map(function ($file) {
264
+            $routes = is_array($files) ? $files : collect(File::glob($path . '/*.php'))->map(function($file) {
265 265
                 return File::name($file);
266 266
             })->all();
267 267
 
Please login to merge, or discard this patch.
src/Concord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
         $implicitModules = $this->implicitModules;
107 107
 
108
-        return $this->modules->reject(function ($module) use ($implicitModules) {
108
+        return $this->modules->reject(function($module) use ($implicitModules) {
109 109
             return array_key_exists(get_class($module), $implicitModules);
110 110
         });
111 111
     }
Please login to merge, or discard this patch.
src/Support/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $parts = array_except($parts, count($parts) - 1);
32 32
     }
33 33
 
34
-    array_walk($parts, function (&$part) {
34
+    array_walk($parts, function(&$part) {
35 35
         $part = snake_case($part);
36 36
     });
37 37
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 {
54 54
     $parts = explode('.', $str);
55 55
 
56
-    array_walk($parts, function (&$part) {
56
+    array_walk($parts, function(&$part) {
57 57
         $part = studly_case($part);
58 58
     });
59 59
 
@@ -84,10 +84,10 @@  discard block
 block discarded – undo
84 84
         $vendorAndModule = empty($parts[0]) ? array_only($parts, 1) : array_only($parts, 0);
85 85
     } else {
86 86
         $parts           = explode('\\', $classname);
87
-        $vendorAndModule = empty($parts[0]) ? array_only($parts, [1,2]) : array_only($parts, [0,1]);
87
+        $vendorAndModule = empty($parts[0]) ? array_only($parts, [1, 2]) : array_only($parts, [0, 1]);
88 88
     }
89 89
 
90
-    array_walk($vendorAndModule, function (&$part) {
90
+    array_walk($vendorAndModule, function(&$part) {
91 91
         $part = snake_case($part);
92 92
     });
93 93
 
Please login to merge, or discard this patch.
src/Console/Commands/EnumsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,15 +42,15 @@
 block discarded – undo
42 42
     {
43 43
         $table = [];
44 44
 
45
-        $bindings->map(function ($item, $key) {
45
+        $bindings->map(function($item, $key) {
46 46
             return [
47 47
                 'shortName' => shorten($key),
48 48
                 'abstract'  => $key,
49 49
                 'concrete'  => $item
50 50
             ];
51
-        })->sort(function ($a, $b) {
51
+        })->sort(function($a, $b) {
52 52
             return $a['shortName'] > $b['shortName'];
53
-        })->each(function ($binding) use (&$table) {
53
+        })->each(function($binding) use (&$table) {
54 54
             $table[] = [
55 55
                 $binding['shortName'],
56 56
                 $binding['abstract'],
Please login to merge, or discard this patch.
src/Console/Commands/RequestsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,15 +42,15 @@
 block discarded – undo
42 42
     {
43 43
         $table = [];
44 44
 
45
-        $bindings->map(function ($item, $key) {
45
+        $bindings->map(function($item, $key) {
46 46
             return [
47 47
                 'shortName' => shorten($key),
48 48
                 'abstract'  => $key,
49 49
                 'concrete'  => $item
50 50
             ];
51
-        })->sort(function ($a, $b) {
51
+        })->sort(function($a, $b) {
52 52
             return $a['shortName'] > $b['shortName'];
53
-        })->each(function ($binding) use (&$table) {
53
+        })->each(function($binding) use (&$table) {
54 54
             $table[] = [
55 55
                 $binding['shortName'],
56 56
                 $binding['abstract'],
Please login to merge, or discard this patch.