Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 842-850 (lines=9) @@
839
                        $limit = null;
840
                    }
841
                    break;
842
                case 'char':
843
                    $type = static::PHINX_TYPE_CHAR;
844
                    if ($limit === 255) {
845
                        $limit = null;
846
                    }
847
                    if ($limit === 36) {
848
                        $type = static::PHINX_TYPE_UUID;
849
                    }
850
                    break;
851
                case 'tinyint':
852
                    $type = static::PHINX_TYPE_INTEGER;
853
                    $limit = static::INT_TINY;

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

@@ 886-894 (lines=9) @@
883
                        $limit = null;
884
                    }
885
                    break;
886
                case 'char':
887
                    $type = static::PHINX_TYPE_CHAR;
888
                    if ($limit === 255) {
889
                        $limit = null;
890
                    }
891
                    if ($limit === 36) {
892
                        $type = static::PHINX_TYPE_UUID;
893
                    }
894
                    break;
895
                case 'int':
896
                    $type = static::PHINX_TYPE_INTEGER;
897
                    if ($limit === 11) {