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

vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorCollector.php 2 locations

@@ 142-147 (lines=6) @@
139
        ksort($this->lines, SORT_NUMERIC);
140
141
        // Now, check if we need to operate on a lower structure
142
        if (!empty($attr)) {
143
            $struct = $struct->getChild(HTMLPurifier_ErrorStruct::ATTR, $attr);
144
            if (!$struct->value) {
145
                $struct->value = array($attr, 'PUT VALUE HERE');
146
            }
147
        }
148
        if (!empty($cssprop)) {
149
            $struct = $struct->getChild(HTMLPurifier_ErrorStruct::CSSPROP, $cssprop);
150
            if (!$struct->value) {
@@ 148-154 (lines=7) @@
145
                $struct->value = array($attr, 'PUT VALUE HERE');
146
            }
147
        }
148
        if (!empty($cssprop)) {
149
            $struct = $struct->getChild(HTMLPurifier_ErrorStruct::CSSPROP, $cssprop);
150
            if (!$struct->value) {
151
                // if we tokenize CSS this might be a little more difficult to do
152
                $struct->value = array($cssprop, 'PUT VALUE HERE');
153
            }
154
        }
155
156
        // Ok, structs are all setup, now time to register the error
157
        $struct->addError($severity, $msg);