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

protected/extensions/phpthumb/lib/phpThumb/src/GdThumb.inc.php 2 locations

@@ 193-200 (lines=8) @@
190
		$this->calcImageSize($this->currentDimensions['width'], $this->currentDimensions['height']);
191
		
192
		// create the working image
193
		if (function_exists('imagecreatetruecolor'))
194
		{
195
			$this->workingImage = imagecreatetruecolor($this->newDimensions['newWidth'], $this->newDimensions['newHeight']);
196
		}
197
		else
198
		{
199
			$this->workingImage = imagecreate($this->newDimensions['newWidth'], $this->newDimensions['newHeight']);
200
		}
201
		
202
		$this->preserveAlpha();		
203
		
@@ 634-641 (lines=8) @@
631
		
632
		$this->calcImageSizePercent($this->currentDimensions['width'], $this->currentDimensions['height']);
633
		
634
		if (function_exists('imagecreatetruecolor'))
635
		{
636
			$this->workingImage = imagecreatetruecolor($this->newDimensions['newWidth'], $this->newDimensions['newHeight']);
637
		}
638
		else
639
		{
640
			$this->workingImage = imagecreate($this->newDimensions['newWidth'], $this->newDimensions['newHeight']);
641
		}
642
		
643
		$this->preserveAlpha();
644