Passed
Push — master ( c86cba...aa7235 )
by Aleksei
03:39
created
src/Migrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.
src/State.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,5 +38,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.