Code Duplication    Length = 3-3 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/html2pdf.php 2 locations

@@ 1039-1041 (lines=3) @@
1036
                if ($chiffre >= 1) {
1037
                    $nbArabic = $nbArabic - $chiffre * pow(10, $i);
1038
                    if ($chiffre <= 3) {
1039
                        for ($j = $chiffre; $j >= 1; $j--) {
1040
                            $nbRoman = $nbRoman.$nbBaseTen[$i];
1041
                        }
1042
                    } else if ($chiffre == 9) {
1043
                        $nbRoman = $nbRoman.$nbBaseTen[$i].$nbBaseTen[$i + 1];
1044
                    } else if ($chiffre == 4) {
@@ 1048-1050 (lines=3) @@
1045
                    $nbRoman = $nbRoman.$nbBaseTen[$i].$nbBaseFive[$i];
1046
                    } else {
1047
                        $nbRoman = $nbRoman.$nbBaseFive[$i];
1048
                        for ($j = $chiffre - 5; $j >= 1; $j--) {
1049
                            $nbRoman = $nbRoman.$nbBaseTen[$i];
1050
                        }
1051
                    }
1052
                }
1053
            }