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

phpmyfaq/admin/editor/plugins/ajaxfilemanager/inc/class.image.php 2 locations

@@ 223-227 (lines=5) @@
220
        $saved = false;
221
        switch($ext) 
222
        {
223
            case 'gif':
224
                if ($this->gdInfo['Truecolor Support'] && imageistruecolor($this->_imgFinal)) 
225
                {
226
                    imagetruecolortopalette($this->_imgFinal, false, 255);
227
                }
228
            case 'png':
229
                $saved = $func($this->_imgFinal, $filename);
230
                break;
@@ 277-281 (lines=5) @@
274
        header("Content-type: $head");
275
        switch($type) 
276
        {
277
            case 'gif':
278
                if ($this->gdInfo['Truecolor Support'] && imageistruecolor($this->_imgFinal)) 
279
                {
280
                    @imagetruecolortopalette($this->_imgFinal, false, 255);
281
                }
282
            case 'png':
283
                $func($this->_imgFinal);
284
                break;