Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 1002-1010 (lines=9) @@
999
                        $limit = null;
1000
                    }
1001
                    break;
1002
                case 'char':
1003
                    $type = static::PHINX_TYPE_CHAR;
1004
                    if ($limit === 255) {
1005
                        $limit = null;
1006
                    }
1007
                    if ($limit === 36) {
1008
                        $type = static::PHINX_TYPE_UUID;
1009
                    }
1010
                    break;
1011
                case 'tinyint':
1012
                    $type = static::PHINX_TYPE_INTEGER;
1013
                    $limit = static::INT_TINY;

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

@@ 1088-1096 (lines=9) @@
1085
                        $limit = null;
1086
                    }
1087
                    break;
1088
                case 'char':
1089
                    $type = static::PHINX_TYPE_CHAR;
1090
                    if ($limit === 255) {
1091
                        $limit = null;
1092
                    }
1093
                    if ($limit === 36) {
1094
                        $type = static::PHINX_TYPE_UUID;
1095
                    }
1096
                    break;
1097
                case 'int':
1098
                    $type = static::PHINX_TYPE_INTEGER;
1099
                    if ($limit === 11) {