Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 878-886 (lines=9) @@
875
                        $limit = null;
876
                    }
877
                    break;
878
                case 'char':
879
                    $type = static::PHINX_TYPE_CHAR;
880
                    if ($limit === 255) {
881
                        $limit = null;
882
                    }
883
                    if ($limit === 36) {
884
                        $type = static::PHINX_TYPE_UUID;
885
                    }
886
                    break;
887
                case 'int':
888
                    $type = static::PHINX_TYPE_INTEGER;
889
                    if ($limit === 11) {

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

@@ 861-869 (lines=9) @@
858
                        $limit = null;
859
                    }
860
                    break;
861
                case 'char':
862
                    $type = static::PHINX_TYPE_CHAR;
863
                    if ($limit === 255) {
864
                        $limit = null;
865
                    }
866
                    if ($limit === 36) {
867
                        $type = static::PHINX_TYPE_UUID;
868
                    }
869
                    break;
870
                case 'tinyint':
871
                    $type = static::PHINX_TYPE_INTEGER;
872
                    $limit = static::INT_TINY;