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

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

@@ 245-248 (lines=4) @@
242
			throw new InvalidArgumentException('$width and $height must be numeric and greater than zero');
243
		}
244
		
245
		if (!is_numeric($width) || $width  == 0)
246
		{
247
			$width = ( $height * $this->currentDimensions['width'] ) / $this->currentDimensions['height'];
248
		}
249
		
250
		if (!is_numeric($height) || $height  == 0)
251
		{
@@ 250-253 (lines=4) @@
247
			$width = ( $height * $this->currentDimensions['width'] ) / $this->currentDimensions['height'];
248
		}
249
		
250
		if (!is_numeric($height) || $height  == 0)
251
		{
252
			$height = ( $width * $this->currentDimensions['height'] ) / $this->currentDimensions['width'];
253
		}
254
		
255
		// make sure we're not exceeding our image size if we're not supposed to
256
		if ($this->options['resizeUp'] === false)