@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | /*** SCHEDULER PUBLISH***/ |
6 | 6 | desc('Run migrations'); |
7 | -task('bytic:migrations:migrate', function () { |
|
7 | +task('bytic:migrations:migrate', function() { |
|
8 | 8 | cd('{{release_path}}'); |
9 | 9 | |
10 | 10 | $bytic = get('bin/bytic'); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $phinx = new PhinxApplication(); |
44 | 44 | $command = $phinx->find($command); |
45 | 45 | |
46 | - var_dump($arguments);die(); |
|
46 | + var_dump($arguments); die(); |
|
47 | 47 | |
48 | 48 | $arguments['command'] = $command; |
49 | 49 | $arguments['--configuration'] = $this->getCachedConfigPath(); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | protected static function detectCommandPath() |
39 | 39 | { |
40 | 40 | $paths = [ |
41 | - static::normalizePath(static::getBasePath(),'vendor','bin','phinx'), |
|
41 | + static::normalizePath(static::getBasePath(), 'vendor', 'bin', 'phinx'), |
|
42 | 42 | '~/.composer/vendor/bin/phinx' |
43 | 43 | ]; |
44 | 44 | foreach ($paths as $path) { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | protected function registerMigrator() |
24 | 24 | { |
25 | - $this->getContainer()->share('migrations.migrator', function () { |
|
25 | + $this->getContainer()->share('migrations.migrator', function() { |
|
26 | 26 | $migrator = $this->getContainer()->get(Migrator::class); |
27 | 27 | return $migrator; |
28 | 28 | }); |