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

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

@@ 1250-1258 (lines=9) @@
1247
			'newHeight'	=> $height
1248
		);
1249
		
1250
		if ($this->maxWidth > 0)
1251
		{
1252
			$newSize = $this->calcWidth($width, $height);
1253
			
1254
			if ($this->maxHeight > 0 && $newSize['newHeight'] > $this->maxHeight)
1255
			{
1256
				$newSize = $this->calcHeight($newSize['newWidth'], $newSize['newHeight']);
1257
			}
1258
		}
1259
		
1260
		if ($this->maxHeight > 0)
1261
		{
@@ 1260-1268 (lines=9) @@
1257
			}
1258
		}
1259
		
1260
		if ($this->maxHeight > 0)
1261
		{
1262
			$newSize = $this->calcHeight($width, $height);
1263
			
1264
			if ($this->maxWidth > 0 && $newSize['newWidth'] > $this->maxWidth)
1265
			{
1266
				$newSize = $this->calcWidth($newSize['newWidth'], $newSize['newHeight']);
1267
			}
1268
		}
1269
		
1270
		$this->newDimensions = $newSize;
1271
	}