@@ -13,13 +13,13 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('deploy_migrations', function (Blueprint $table) { |
|
16 | + Schema::create('deploy_migrations', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('migration'); |
19 | 19 | $table->dateTime('created_at'); |
20 | 20 | }); |
21 | 21 | |
22 | - Schema::create('deploy_migrations_info', function (Blueprint $table) { |
|
22 | + Schema::create('deploy_migrations_info', function(Blueprint $table) { |
|
23 | 23 | $table->increments('id'); |
24 | 24 | $table->string('migration'); |
25 | 25 | $table->json('output')->nullable(); |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | $migrationCollection = $instantiator->run(); |
73 | 73 | |
74 | - $migrations = $migrationCollection->filter(function (DeployMigration $migration) { |
|
74 | + $migrations = $migrationCollection->filter(function(DeployMigration $migration) { |
|
75 | 75 | $tableQuery = $this->getTableQuery(); |
76 | 76 | $alreadyExecuted = $tableQuery->where('migration', '=', get_class($migration))->count() > 0; |
77 | 77 | return $alreadyExecuted === false; |
@@ -61,7 +61,7 @@ |
||
61 | 61 | continue; |
62 | 62 | } |
63 | 63 | |
64 | - $commands = $migration->getCommands(); |
|
64 | + $commands = $migration->getCommands(); |
|
65 | 65 | |
66 | 66 | foreach ($commands as $commandName => $arguments) { |
67 | 67 | $currentCommand = $commandName; |
@@ -38,10 +38,10 @@ discard block |
||
38 | 38 | $infoBuilder = $this->createMock(Builder::class); |
39 | 39 | |
40 | 40 | $connection->expects(static::exactly(2))->method('table') |
41 | - ->willReturnOnConsecutiveCalls( |
|
42 | - $builder, |
|
43 | - $infoBuilder |
|
44 | - ) |
|
41 | + ->willReturnOnConsecutiveCalls( |
|
42 | + $builder, |
|
43 | + $infoBuilder |
|
44 | + ) |
|
45 | 45 | ; |
46 | 46 | |
47 | 47 | $builder->expects(static::once())->method('insert'); |
@@ -79,10 +79,10 @@ discard block |
||
79 | 79 | $infoBuilder = $this->createMock(Builder::class); |
80 | 80 | |
81 | 81 | $connection->expects(static::exactly(2))->method('table') |
82 | - ->willReturnOnConsecutiveCalls( |
|
83 | - $builder, |
|
84 | - $infoBuilder |
|
85 | - ) |
|
82 | + ->willReturnOnConsecutiveCalls( |
|
83 | + $builder, |
|
84 | + $infoBuilder |
|
85 | + ) |
|
86 | 86 | ; |
87 | 87 | |
88 | 88 | $infoBuilder->expects(static::once())->method('insert'); |