Code Duplication    Length = 5-5 lines in 3 locations

src/MSSQLSchemaManager.php 3 locations

@@ 520-524 (lines=5) @@
517
                    if ($field['data_type'] != 'bigint' && $field['data_type'] != 'int' && $sizeSuffix = $field['numeric_precision']) {
518
                        $field['data_type'] .= "($sizeSuffix)";
519
                    }
520
                    if ($field['is_nullable'] == 'YES') {
521
                        $field['data_type'] .= ' null';
522
                    } else {
523
                        $field['data_type'] .= ' not null';
524
                    }
525
526
                    if ($field['column_default']) {
527
                        $default = substr($field['column_default'], 2, -2);
@@ 539-543 (lines=5) @@
536
                        $field['data_type'] .= "($sizeSuffix)";
537
                    }
538
539
                    if ($field['is_nullable'] == 'YES') {
540
                        $field['data_type'] .= ' null';
541
                    } else {
542
                        $field['data_type'] .= ' not null';
543
                    }
544
545
                    if ($field['column_default']) {
546
                        $default = substr($field['column_default'], 2, -2);
@@ 582-586 (lines=5) @@
579
                        $field['data_type'] .= "($sizeSuffix)";
580
                    }
581
582
                    if ($field['is_nullable'] == 'YES') {
583
                        $field['data_type'] .= ' null';
584
                    } else {
585
                        $field['data_type'] .= ' not null';
586
                    }
587
588
                    if (isset($field['column_default']) && $field['column_default']) {
589
                        $default = substr($field['column_default'], 2, -2);