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

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

@@ 430-435 (lines=6) @@
427
    if ($this->_imgInfoOrig['type'] == 'png') 
428
    {    
429
        @imagealphablending($this->_imgFinal, false);
430
				if(function_exists('ImageCopyResampled'))
431
				{
432
					@imagecopyresampled($this->_imgFinal, $this->_imgOrig, 0, 0, 0, 0, $new_x, $new_y, $this->_imgInfoOrig['width'], $this->_imgInfoOrig['height']);
433
				} else {
434
					@imagecopyresized($this->_imgFinal, $this->_imgOrig, 0, 0, 0, 0, $new_x, $new_y, $this->_imgInfoOrig['width'], $this->_imgInfoOrig['height']);
435
				} 
436
        @imagesavealpha($this->_imgFinal, true);
437
438
    }else 
@@ 438-446 (lines=9) @@
435
				} 
436
        @imagesavealpha($this->_imgFinal, true);
437
438
    }else 
439
    {//for the rest image
440
			if(function_exists('ImageCopyResampled'))
441
			{
442
				@imagecopyresampled($this->_imgFinal, $this->_imgOrig, 0, 0, 0, 0, $new_x, $new_y, $this->_imgInfoOrig['width'], $this->_imgInfoOrig['height']);
443
			} else {
444
				@imagecopyresized($this->_imgFinal, $this->_imgOrig, 0, 0, 0, 0, $new_x, $new_y, $this->_imgInfoOrig['width'], $this->_imgInfoOrig['height']);
445
			}    	
446
    }
447
448
		
449
		$this->_imgInfoFinal['width'] = $new_x;