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

classes/security/htmlpurifier/library/HTMLPurifier/Config.php 1 location

@@ 271-277 (lines=7) @@
268
        // Raw type might be negative when using the fully optimized form
269
        // of stdclass, which indicates allow_null == true
270
        $rtype = is_int($def) ? $def : $def->type;
271
        if ($rtype < 0) {
272
            $type = -$rtype;
273
            $allow_null = true;
274
        } else {
275
            $type = $rtype;
276
            $allow_null = isset($def->allow_null);
277
        }
278
279
        try {
280
            $value = $this->parser->parse($value, $type, $allow_null);

classes/security/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php 1 location

@@ 163-169 (lines=7) @@
160
161
            $ret .= $this->start('td');
162
                $def = $this->config->def->info["$ns.$directive"];
163
                if (is_int($def)) {
164
                    $allow_null = $def < 0;
165
                    $type = abs($def);
166
                } else {
167
                    $type = $def->type;
168
                    $allow_null = isset($def->allow_null);
169
                }
170
                if (!isset($this->fields[$type])) $type = 0; // default
171
                $type_obj = $this->fields[$type];
172
                if ($allow_null) {