@@ -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'); |
@@ -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 | }); |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | $baseDir = getcwd(); |
| 8 | 8 | (new Dotenv()) |
| 9 | - ->bootEnv($baseDir.'/.env'); |
|
| 9 | + ->bootEnv($baseDir . '/.env'); |
|
| 10 | 10 | |
| 11 | 11 | $config = new \ByTIC\Migrations\Config\Config(); |
| 12 | 12 | $config->addBasePath($baseDir); |