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

application/helpers/markdown_helper.php 2 locations

@@ 2237-2248 (lines=12) @@
2234
            if ($tag{0} == "`") {
2235
                # Find corresponding end marker.
2236
                $tag_re = preg_quote($tag);
2237
                if (preg_match(
2238
                    '{^(?>.+?|\n(?!\n))*?(?<!`)' . $tag_re . '(?!`)}',
2239
                    $text,
2240
                    $matches
2241
                )) {
2242
                    # End marker found: pass text unchanged until marker.
2243
                    $parsed .= $tag . $matches[0];
2244
                    $text = substr($text, strlen($matches[0]));
2245
                } else {
2246
                    # Unmatched marker: just skip it.
2247
                    $parsed .= $tag;
2248
                }
2249
            }
2250
            #
2251
            # Check for: Fenced code block marker.
@@ 2257-2268 (lines=12) @@
2254
                # Fenced code block marker: find matching end marker.
2255
                $fence_indent = strlen($capture[1]); # use captured indent in re
2256
                $fence_re     = $capture[2]; # use captured fence in re
2257
                if (preg_match(
2258
                    '{^(?>.*\n)*?[ ]{' . ($fence_indent) . '}' . $fence_re . '[ ]*(?:\n|$)}',
2259
                    $text,
2260
                    $matches
2261
                )) {
2262
                    # End marker found: pass text unchanged until marker.
2263
                    $parsed .= $tag . $matches[0];
2264
                    $text = substr($text, strlen($matches[0]));
2265
                } else {
2266
                    # No end marker: just skip it.
2267
                    $parsed .= $tag;
2268
                }
2269
            }
2270
            #
2271
            # Check for: Indented code block.