Code Duplication    Length = 9-9 lines in 2 locations

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

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

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

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