Completed
Push — master ( bce893...4ab2af )
by Mark
06:22 queued 02:57
created
src/MigrationsOrganiserServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function registerCreator()
20 20
     {
21
-        $this->app->singleton('migration.creator', function ($app) {
21
+        $this->app->singleton('migration.creator', function($app) {
22 22
             return new MigrationCreator($app['files']);
23 23
         });
24 24
     }
25 25
 
26 26
     protected function registerMigrator()
27 27
     {
28
-        $this->app->singleton('migrator', function ($app) {
28
+        $this->app->singleton('migrator', function($app) {
29 29
             $repository = $app['migration.repository'];
30 30
 
31 31
             return new Migrator($repository, $app['db'], $app['files']);
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
 
35 35
     protected function registerMigrateOrganise()
36 36
     {
37
-        $this->app->singleton('command.migrate.organise', function ($app) {
37
+        $this->app->singleton('command.migrate.organise', function($app) {
38 38
             return new MigrateOrganise($app['files'], $app['migrator']);
39 39
         });
40 40
     }
41 41
 
42 42
     protected function registerMigrateDisorganise()
43 43
     {
44
-        $this->app->singleton('command.migrate.disorganise', function ($app) {
44
+        $this->app->singleton('command.migrate.disorganise', function($app) {
45 45
             return new MigrateDisorganise($app['files'], $app['migrator']);
46 46
         });
47 47
     }
Please login to merge, or discard this patch.
src/Migrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             return [];
29 29
         }
30 30
 
31
-        $files = array_map(function ($file) {
31
+        $files = array_map(function($file) {
32 32
             return str_replace('.php', '', basename($file));
33 33
 
34 34
         }, $files);
Please login to merge, or discard this patch.
src/MigrationCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     {
11 11
         $path = $path.'/'.date('Y').'/'.date('m');
12 12
 
13
-        if (! $this->files->exists($path)) {
13
+        if ( ! $this->files->exists($path)) {
14 14
             $this->files->makeDirectory($path, 0775, true);
15 15
         }
16 16
 
Please login to merge, or discard this patch.
src/Commands/MigrateOrganise.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             $datePath = $this->migrator->getDateFolderStructure($migration);
71 71
 
72 72
             // Create folder if it does not already exist
73
-            if (! $this->files->exists($basePath.'/'.$datePath)) {
73
+            if ( ! $this->files->exists($basePath.'/'.$datePath)) {
74 74
                 $this->files->makeDirectory($basePath.'/'.$datePath, 0775, true);
75 75
             }
76 76
 
Please login to merge, or discard this patch.