Code Duplication    Length = 6-6 lines in 5 locations

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

@@ 5501-5506 (lines=6) @@
5498
                $remaining = 1;
5499
            }
5500
            // Three byte sequence:
5501
            elseif (($value & 0xF0) === 0xE0)
5502
            {
5503
                $character = ($value & 0x0F) << 12;
5504
                $length = 3;
5505
                $remaining = 2;
5506
            }
5507
            // Four byte sequence:
5508
            elseif (($value & 0xF8) === 0xF0)
5509
            {
@@ 5508-5513 (lines=6) @@
5505
                $remaining = 2;
5506
            }
5507
            // Four byte sequence:
5508
            elseif (($value & 0xF8) === 0xF0)
5509
            {
5510
                $character = ($value & 0x07) << 18;
5511
                $length = 4;
5512
                $remaining = 3;
5513
            }
5514
            // Invalid byte:
5515
            else
5516
            {
@@ 5618-5623 (lines=6) @@
5615
                    $length = 1;
5616
                }
5617
                // Two byte sequence:
5618
                elseif (($value & 0xE0) === 0xC0)
5619
                {
5620
                    $character = ($value & 0x1F) << 6;
5621
                    $length = 2;
5622
                    $remaining = 1;
5623
                }
5624
                // Three byte sequence:
5625
                elseif (($value & 0xF0) === 0xE0)
5626
                {
@@ 5625-5630 (lines=6) @@
5622
                    $remaining = 1;
5623
                }
5624
                // Three byte sequence:
5625
                elseif (($value & 0xF0) === 0xE0)
5626
                {
5627
                    $character = ($value & 0x0F) << 12;
5628
                    $length = 3;
5629
                    $remaining = 2;
5630
                }
5631
                // Four byte sequence:
5632
                elseif (($value & 0xF8) === 0xF0)
5633
                {
@@ 5632-5637 (lines=6) @@
5629
                    $remaining = 2;
5630
                }
5631
                // Four byte sequence:
5632
                elseif (($value & 0xF8) === 0xF0)
5633
                {
5634
                    $character = ($value & 0x07) << 18;
5635
                    $length = 4;
5636
                    $remaining = 3;
5637
                }
5638
                // Invalid byte:
5639
                else
5640
                {