Passed
Push — master ( ba211f...e7b8e0 )
by mark
03:16 queued 12s
created
src/Phinx/Db/Adapter/SQLiteAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -365,8 +365,8 @@  discard block
 block discarded – undo
365 365
             // Handle id => "field_name" to support AUTO_INCREMENT
366 366
             $column = new Column();
367 367
             $column->setName($options['id'])
368
-                   ->setType('integer')
369
-                   ->setIdentity(true);
368
+                    ->setType('integer')
369
+                    ->setIdentity(true);
370 370
 
371 371
             array_unshift($columns, $column);
372 372
         }
@@ -645,12 +645,12 @@  discard block
 block discarded – undo
645 645
 
646 646
             $column->setName($columnInfo['name'])
647 647
                 // SQLite on PHP 8.1 returns int for notnull, older versions return a string
648
-                   ->setNull((int)$columnInfo['notnull'] !== 1)
649
-                   ->setDefault($default)
650
-                   ->setType($type['name'])
651
-                   ->setLimit($type['limit'])
652
-                   ->setScale($type['scale'])
653
-                   ->setIdentity($columnInfo['name'] === $identity);
648
+                    ->setNull((int)$columnInfo['notnull'] !== 1)
649
+                    ->setDefault($default)
650
+                    ->setType($type['name'])
651
+                    ->setLimit($type['limit'])
652
+                    ->setScale($type['scale'])
653
+                    ->setIdentity($columnInfo['name'] === $identity);
654 654
 
655 655
             $columns[] = $column;
656 656
         }
Please login to merge, or discard this patch.