Code Duplication    Length = 6-8 lines in 4 locations

src/Phiber/ORM/Persistence/TableMySql.php 4 locations

@@ 178-184 (lines=7) @@
175
            } else {
176
                $stringSql .= "ADD " . $arrayDiff[$j];
177
            }
178
            if (array_key_exists('type', $arrFormatado)) {
179
180
                $stringSql .= " " . $arrFormatado['type'] . "";
181
182
            } else {
183
                $stringSql .= "";
184
            }
185
186
            if (array_key_exists('size', $arrFormatado)) {
187
@@ 186-192 (lines=7) @@
183
                $stringSql .= "";
184
            }
185
186
            if (array_key_exists('size', $arrFormatado)) {
187
188
                $stringSql .= "(" . $arrFormatado['size'] . ") ";
189
190
            } else {
191
                $stringSql .= "";
192
            }
193
194
            /**
195
             * @todo NOT NULL AQUI
@@ 319-324 (lines=6) @@
316
                    $arrFormatado[FuncoesString::substituiOcorrenciasDeUmaString($arrAtual[$k], "@_", "")] = $arrAtual[$k + 1];
317
                }
318
            }
319
            if (array_key_exists('type', $arrFormatado)) {
320
                $stringSql .= " " . $arrFormatado['type'] . "";
321
322
            } else {
323
                $stringSql .= "";
324
            }
325
326
            if (array_key_exists('size', $arrFormatado)) {
327
                if ($arrFormatado['size'] != 'none') {
@@ 326-333 (lines=8) @@
323
                $stringSql .= "";
324
            }
325
326
            if (array_key_exists('size', $arrFormatado)) {
327
                if ($arrFormatado['size'] != 'none') {
328
                    $stringSql .= "(" . $arrFormatado['size'] . ") ";
329
                }
330
331
            } else {
332
                $stringSql .= "";
333
            }
334
335
            /**
336
             * @todo NOT NULL AQUI