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

classes/security/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php 2 locations

@@ 280-287 (lines=8) @@
277
            foreach ($this->info_global_attr as $attr => $x) {
278
                $keys = array($attr, "*@$attr", "*.$attr");
279
                $delete = true;
280
                foreach ($keys as $key) {
281
                    if ($delete && isset($allowed_attributes[$key])) {
282
                        $delete = false;
283
                    }
284
                    if (isset($allowed_attributes_mutable[$key])) {
285
                        unset($allowed_attributes_mutable[$key]);
286
                    }
287
                }
288
                if ($delete) unset($this->info_global_attr[$attr]);
289
            }
290
@@ 295-302 (lines=8) @@
292
                foreach ($info->attr as $attr => $x) {
293
                    $keys = array("$tag@$attr", $attr, "*@$attr", "$tag.$attr", "*.$attr");
294
                    $delete = true;
295
                    foreach ($keys as $key) {
296
                        if ($delete && isset($allowed_attributes[$key])) {
297
                            $delete = false;
298
                        }
299
                        if (isset($allowed_attributes_mutable[$key])) {
300
                            unset($allowed_attributes_mutable[$key]);
301
                        }
302
                    }
303
                    if ($delete) {
304
                        if ($this->info[$tag]->attr[$attr]->required) {
305
                            trigger_error("Required attribute '$attr' in element '$tag' was not allowed, which means '$tag' will not be allowed either", E_USER_WARNING);