@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | foreach ($this->repository->getMigrations() as $migration) { |
| 113 | 113 | $database = $this->dbal->database($migration->getDatabase()); |
| 114 | 114 | |
| 115 | - if (! isset($result[$database->getName()])) { |
|
| 115 | + if (!isset($result[$database->getName()])) { |
|
| 116 | 116 | $result[$database->getName()] = $database; |
| 117 | 117 | } |
| 118 | 118 | } |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | try { |
| 169 | 169 | $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase())); |
| 170 | 170 | $capsule->getDatabase()->transaction( |
| 171 | - static function () use ($migration, $capsule): void { |
|
| 171 | + static function() use ($migration, $capsule): void { |
|
| 172 | 172 | $migration->withCapsule($capsule)->up(); |
| 173 | 173 | } |
| 174 | 174 | ); |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | ), |
| 195 | 195 | $exception->getMessage() |
| 196 | 196 | ), |
| 197 | - (int)$exception->getCode(), |
|
| 197 | + (int) $exception->getCode(), |
|
| 198 | 198 | $exception |
| 199 | 199 | ); |
| 200 | 200 | } |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | |
| 223 | 223 | $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase())); |
| 224 | 224 | $capsule->getDatabase()->transaction( |
| 225 | - static function () use ($migration, $capsule): void { |
|
| 225 | + static function() use ($migration, $capsule): void { |
|
| 226 | 226 | $migration->withCapsule($capsule)->down(); |
| 227 | 227 | } |
| 228 | 228 | ); |
@@ -38,5 +38,5 @@ |
||
| 38 | 38 | * @deprecated Please use {@see Status::STATUS_EXECUTED} instead. |
| 39 | 39 | * @var StatusEnum |
| 40 | 40 | */ |
| 41 | - public const STATUS_EXECUTED = Status::STATUS_EXECUTED; |
|
| 41 | + public const STATUS_EXECUTED = Status::STATUS_EXECUTED; |
|
| 42 | 42 | } |