Passed
Pull Request — master (#1977)
by
unknown
02:39
created
src/Phinx/Db/Adapter/SqlServerAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -235,8 +235,8 @@  discard block
 block discarded – undo
235 235
             // Handle id => "field_name" to support AUTO_INCREMENT
236 236
             $column = new Column();
237 237
             $column->setName($options['id'])
238
-                   ->setType('integer')
239
-                   ->setIdentity(true);
238
+                    ->setType('integer')
239
+                    ->setIdentity(true);
240 240
 
241 241
             array_unshift($columns, $column);
242 242
             if (isset($options['primary_key']) && (array)$options['id'] !== (array)$options['primary_key']) {
@@ -465,11 +465,11 @@  discard block
 block discarded – undo
465 465
 
466 466
             $column = new Column();
467 467
             $column->setName($columnInfo['name'])
468
-                   ->setType($type)
469
-                   ->setNull($columnInfo['null'] !== 'NO')
470
-                   ->setDefault($this->parseDefault($columnInfo['default']))
471
-                   ->setIdentity($columnInfo['identity'] === '1')
472
-                   ->setComment($this->getColumnComment($columnInfo['table_name'], $columnInfo['name']));
468
+                    ->setType($type)
469
+                    ->setNull($columnInfo['null'] !== 'NO')
470
+                    ->setDefault($this->parseDefault($columnInfo['default']))
471
+                    ->setIdentity($columnInfo['identity'] === '1')
472
+                    ->setComment($this->getColumnComment($columnInfo['table_name'], $columnInfo['name']));
473 473
 
474 474
             if ($type != self::PHINX_TYPE_TEXT && !empty($columnInfo['char_length'])) {
475 475
                 // Do not set a limit for text, as that is handled elsewhere.
@@ -785,7 +785,7 @@  discard block
 block discarded – undo
785 785
 
786 786
         foreach ($indexes as $name => $index) {
787 787
             if ($name === $indexName) {
788
-                 return true;
788
+                    return true;
789 789
             }
790 790
         }
791 791
 
Please login to merge, or discard this patch.