Passed
Push — master ( c5cb46...bd517f )
by Gabriel
14:57
created
deployer/recipies/migrations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Utility/Traits/HasCommandPathTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/MigrationsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.
src/phinx.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.