Completed
Push — master ( d43b57...61b043 )
by Randall
07:54 queued 04:32
created
src/Migrations/Migrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             return [];
52 52
         }
53 53
 
54
-        $files = array_map(static function ($file) {
54
+        $files = array_map(static function($file) {
55 55
             return str_replace('.php', '', basename($file));
56 56
         }, $files);
57 57
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             ->orderBy('migration', 'desc')
76 76
             ->get();
77 77
 
78
-        return collect($rows)->map(static function ($row) {
78
+        return collect($rows)->map(static function($row) {
79 79
             return (array) $row;
80 80
         })->pluck('migration');
81 81
     }
Please login to merge, or discard this patch.
src/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
             $file = 'module.json';
203 203
         }
204 204
 
205
-        return Arr::get($this->moduleJson, $file, function () use ($file) {
205
+        return Arr::get($this->moduleJson, $file, function() use ($file) {
206 206
             return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->files);
207 207
         });
208 208
     }
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 
214 214
         $this->registerProviders();
215 215
 
216
-        if (! $this->isLoadFilesOnBoot()) {
216
+        if (!$this->isLoadFilesOnBoot()) {
217 217
             $this->registerFiles();
218 218
         }
219 219
 
Please login to merge, or discard this patch.
src/Generators/FileGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $path = $this->getPath();
37 37
 
38
-        if (! $this->filesystem->exists($path)) {
38
+        if (!$this->filesystem->exists($path)) {
39 39
             return $this->filesystem->put($path, $this->getContents());
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Generators/ModuleGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         foreach ($this->getFiles() as $stub => $file) {
101 101
             $path = $this->module->getModulePath($this->getName()) . $file;
102 102
 
103
-            if (! $this->filesystem->isDirectory($dir = dirname($path))) {
103
+            if (!$this->filesystem->isDirectory($dir = dirname($path))) {
104 104
                 $this->filesystem->makeDirectory($dir, 0775, true);
105 105
             }
106 106
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
                 $this->module->getModulePath($this->getName()) . '/' . $folder->getPath()
126 126
             );
127 127
 
128
-            if (! $this->filesystem->isDirectory($path)) {
128
+            if (!$this->filesystem->isDirectory($path)) {
129 129
                 $this->filesystem->makeDirectory($path, 0755, true);
130 130
 
131 131
                 if (config('modules.stubs.gitkeep')) {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     {
280 280
         $replacements = $this->getReplacements();
281 281
 
282
-        if (! isset($replacements[$stub])) {
282
+        if (!isset($replacements[$stub])) {
283 283
             return [];
284 284
         }
285 285
 
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
     {
340 340
         $path = $this->module->getModulePath($this->getName()) . 'module.json';
341 341
 
342
-        if (! $this->filesystem->isDirectory($dir = dirname($path))) {
342
+        if (!$this->filesystem->isDirectory($dir = dirname($path))) {
343 343
             $this->filesystem->makeDirectory($dir, 0775, true);
344 344
         }
345 345
 
Please login to merge, or discard this patch.