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 = 18-20 lines in 2 locations

application/helpers/markdown_helper.php 2 locations

@@ 842-861 (lines=20) @@
839
        return $result;
840
    }
841
842
    function _doAnchors_inline_callback($matches)
843
    {
844
        $whole_match = $matches[1];
845
        $link_text   = $this->runSpanGamut($matches[2]);
846
        $url         = $matches[3] == '' ? $matches[4] : $matches[3];
847
        $title       =& $matches[7];
848
849
        $url = $this->encodeAttribute($url);
850
851
        $result = "<a href=\"$url\"";
852
        if (isset($title)) {
853
            $title = $this->encodeAttribute($title);
854
            $result .= " title=\"$title\"";
855
        }
856
857
        $link_text = $this->runSpanGamut($link_text);
858
        $result .= ">$link_text</a>";
859
860
        return $this->hashPart($result);
861
    }
862
863
    function doImages($text)
864
    {
@@ 955-972 (lines=18) @@
952
        return $result;
953
    }
954
955
    function _doImages_inline_callback($matches)
956
    {
957
        $whole_match = $matches[1];
958
        $alt_text    = $matches[2];
959
        $url         = $matches[3] == '' ? $matches[4] : $matches[3];
960
        $title       =& $matches[7];
961
962
        $alt_text = $this->encodeAttribute($alt_text);
963
        $url      = $this->encodeAttribute($url);
964
        $result   = "<img src=\"$url\" alt=\"$alt_text\"";
965
        if (isset($title)) {
966
            $title = $this->encodeAttribute($title);
967
            $result .= " title=\"$title\""; # $title already quoted
968
        }
969
        $result .= $this->empty_element_suffix;
970
971
        return $this->hashPart($result);
972
    }
973
974
    function doHeaders($text)
975
    {