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

classes/security/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php 2 locations

@@ 3145-3163 (lines=19) @@
3142
3143
        /* A start tag whose tag name is one of: "caption", "col", "colgroup",
3144
        "tbody", "td", "tfoot", "th", "thead", "tr" */
3145
        } elseif($token['type'] === HTML5::STARTTAG && in_array($token['name'],
3146
        array('caption', 'col', 'colgroup', 'tbody', 'td', 'tfoot', 'th',
3147
        'thead', 'tr'))) {
3148
            /* If the stack of open elements does not have a td or th element
3149
            in table scope, then this is a parse error; ignore the token.
3150
            (innerHTML case) */
3151
            if(!$this->elementInScope(array('td', 'th'), true)) {
3152
                // Ignore.
3153
3154
            /* Otherwise, close the cell (see below) and reprocess the current
3155
            token. */
3156
            } else {
3157
                $this->closeCell();
3158
                return $this->inRow($token);
3159
            }
3160
3161
        /* A start tag whose tag name is one of: "caption", "col", "colgroup",
3162
        "tbody", "td", "tfoot", "th", "thead", "tr" */
3163
        } elseif($token['type'] === HTML5::STARTTAG && in_array($token['name'],
3164
        array('caption', 'col', 'colgroup', 'tbody', 'td', 'tfoot', 'th',
3165
        'thead', 'tr'))) {
3166
            /* If the stack of open elements does not have a td or th element
@@ 3335-3354 (lines=20) @@
3332
3333
        /* An end tag whose tag name is one of: "caption", "table", "tbody",
3334
        "tfoot", "thead", "tr", "td", "th" */
3335
        } elseif(in_array($token['name'], array('caption', 'table', 'tbody',
3336
        'tfoot', 'thead', 'tr', 'td', 'th')) && $token['type'] === HTML5::ENDTAG) {
3337
            /* Parse error. */
3338
            // w/e
3339
3340
            /* If the stack of open elements has an element in table scope with
3341
            the same tag name as that of the token, then act as if an end tag
3342
            with the tag name "select" had been seen, and reprocess the token.
3343
            Otherwise, ignore the token. */
3344
            if($this->elementInScope($token['name'], true)) {
3345
                $this->inSelect(array(
3346
                    'name' => 'select',
3347
                    'type' => HTML5::ENDTAG
3348
                ));
3349
3350
                $this->mainPhase($token);
3351
            }
3352
3353
        /* Anything else */
3354
        } else {
3355
            /* Parse error. Ignore the token. */
3356
        }
3357
    }