Code Duplication    Length = 4-4 lines in 3 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 3 locations

@@ 5688-5691 (lines=4) @@
5685
                    || $character > 0xD7FF && $character < 0xF900
5686
                )
5687
                {
5688
                    for ($j = $start; $j <= $i; $j++)
5689
                    {
5690
                        $string .= '%' . strtoupper($bytes[$j]);
5691
                    }
5692
                }
5693
                else
5694
                {
@@ 5695-5698 (lines=4) @@
5692
                }
5693
                else
5694
                {
5695
                    for ($j = $start; $j <= $i; $j++)
5696
                    {
5697
                        $string .= chr(hexdec($bytes[$j]));
5698
                    }
5699
                }
5700
            }
5701
        }
@@ 5706-5709 (lines=4) @@
5703
        // mid-way through a multi-byte sequence)
5704
        if ($remaining)
5705
        {
5706
            for ($j = $start; $j < $len; $j++)
5707
            {
5708
                $string .= '%' . strtoupper($bytes[$j]);
5709
            }
5710
        }
5711
        return $string;
5712
    }