GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 20-22 lines in 2 locations

application/helpers/markdown_helper.php 2 locations

@@ 2668-2689 (lines=22) @@
2665
        return $result;
2666
    }
2667
2668
    function _doAnchors_inline_callback($matches)
2669
    {
2670
        $whole_match = $matches[1];
2671
        $link_text   = $this->runSpanGamut($matches[2]);
2672
        $url         = $matches[3] == '' ? $matches[4] : $matches[3];
2673
        $title       =& $matches[7];
2674
        $attr        = $this->doExtraAttributes("a", $dummy =& $matches[8]);
2675
2676
        $url = $this->encodeAttribute($url);
2677
2678
        $result = "<a href=\"$url\"";
2679
        if (isset($title)) {
2680
            $title = $this->encodeAttribute($title);
2681
            $result .= " title=\"$title\"";
2682
        }
2683
        $result .= $attr;
2684
2685
        $link_text = $this->runSpanGamut($link_text);
2686
        $result .= ">$link_text</a>";
2687
2688
        return $this->hashPart($result);
2689
    }
2690
2691
    function doImages($text)
2692
    {
@@ 2787-2806 (lines=20) @@
2784
        return $result;
2785
    }
2786
2787
    function _doImages_inline_callback($matches)
2788
    {
2789
        $whole_match = $matches[1];
2790
        $alt_text    = $matches[2];
2791
        $url         = $matches[3] == '' ? $matches[4] : $matches[3];
2792
        $title       =& $matches[7];
2793
        $attr        = $this->doExtraAttributes("img", $dummy =& $matches[8]);
2794
2795
        $alt_text = $this->encodeAttribute($alt_text);
2796
        $url      = $this->encodeAttribute($url);
2797
        $result   = "<img src=\"$url\" alt=\"$alt_text\"";
2798
        if (isset($title)) {
2799
            $title = $this->encodeAttribute($title);
2800
            $result .= " title=\"$title\""; # $title already quoted
2801
        }
2802
        $result .= $attr;
2803
        $result .= $this->empty_element_suffix;
2804
2805
        return $this->hashPart($result);
2806
    }
2807
2808
    function doHeaders($text)
2809
    {