Passed
Pull Request — 3.x (#33)
by
unknown
11:26
created
src/Migrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
             try {
156 156
                 $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
157 157
                 $capsule->getDatabase($migration->getDatabase())->transaction(
158
-                    static function () use ($migration, $capsule): void {
158
+                    static function() use ($migration, $capsule): void {
159 159
                         $migration->withCapsule($capsule)->up();
160 160
                     }
161 161
                 );
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
             $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
213 213
             $capsule->getDatabase()->transaction(
214
-                static function () use ($migration, $capsule): void {
214
+                static function() use ($migration, $capsule): void {
215 215
                     $migration->withCapsule($capsule)->down();
216 216
                 }
217 217
             );
Please login to merge, or discard this patch.
src/Atomizer/Renderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -401,7 +401,7 @@
 block discarded – undo
401 401
             $options['precision'] = $column->getPrecision();
402 402
         }
403 403
 
404
-        if ($options['default'] == $column::DATETIME_NOW){
404
+        if ($options['default'] == $column::DATETIME_NOW) {
405 405
             $options['default'] = AbstractColumn::DATETIME_NOW;
406 406
         }
407 407
 
Please login to merge, or discard this patch.