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

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