Code Duplication    Length = 3-3 lines in 2 locations

src/Phinx/Db/Adapter/SqlServerAdapter.php 1 location

@@ 1013-1015 (lines=3) @@
1010
                $buffer[] = sprintf('(%s)', $column->getLimit() ? $column->getLimit() : $sqlType['limit']);
1011
            }
1012
        }
1013
        if ($column->getPrecision() && $column->getScale()) {
1014
            $buffer[] = '(' . $column->getPrecision() . ',' . $column->getScale() . ')';
1015
        }
1016
        $properties = $column->getProperties();
1017
        $buffer[] = $column->getType() === 'filestream' ? 'FILESTREAM' : '';
1018
        $buffer[] = isset($properties['rowguidcol']) ? 'ROWGUIDCOL' : '';

src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location

@@ 947-949 (lines=3) @@
944
                $def .= '(' . ($column->getLimit() ?: $sqlType['limit']) . ')';
945
            }
946
        }
947
        if ($column->getPrecision() && $column->getScale()) {
948
            $def .= '(' . $column->getPrecision() . ',' . $column->getScale() . ')';
949
        }
950
        if (($values = $column->getValues()) && is_array($values)) {
951
            $def .= " CHECK({$column->getName()} IN ('" . implode("', '", $values) . "'))";
952
        }