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

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

@@ 320-324 (lines=5) @@
317
        $this->_createFinalImageHandler($dst_w, $dst_h);
318
        if ($this->gdInfo['Truecolor Support']) 
319
        {
320
            	if(!@imagecopyresampled($this->_imgFinal, $this->_imgOrig, 0, 0, $dst_x, $dst_y, $dst_w, $dst_h, $dst_w, $dst_h))
321
            	{
322
            		$this->_debug('Unable crop the image.');
323
            		return false;
324
            	}            
325
        } else 
326
        {
327
          	if(!@imagecopyresized($this->_imgFinal, $this->_imgOrig, 0, 0, $dst_x, $dst_y, $dst_w, $dst_h, $dst_w, $dst_h))
@@ 325-333 (lines=9) @@
322
            		$this->_debug('Unable crop the image.');
323
            		return false;
324
            	}            
325
        } else 
326
        {
327
          	if(!@imagecopyresized($this->_imgFinal, $this->_imgOrig, 0, 0, $dst_x, $dst_y, $dst_w, $dst_h, $dst_w, $dst_h))
328
          	{
329
           		$this->_debug('Unable crop the image.');
330
          		return false;           		
331
          	}
332
            
333
        }
334
        $this->_imgInfoFinal['width'] = $dst_w;
335
        $this->_imgInfoFinal['height'] = $dst_h;   
336
        return true;