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 3 locations

system/libraries/Image_lib.php 3 locations

@@ 1440-1447 (lines=8) @@
1437
1438
		switch ($image_type)
1439
		{
1440
			case 1:
1441
				if ( ! function_exists('imagecreatefromgif'))
1442
				{
1443
					$this->set_error(array('imglib_unsupported_imagecreate', 'imglib_gif_not_supported'));
1444
					return FALSE;
1445
				}
1446
1447
				return imagecreatefromgif($path);
1448
			case 2:
1449
				if ( ! function_exists('imagecreatefromjpeg'))
1450
				{
@@ 1448-1455 (lines=8) @@
1445
				}
1446
1447
				return imagecreatefromgif($path);
1448
			case 2:
1449
				if ( ! function_exists('imagecreatefromjpeg'))
1450
				{
1451
					$this->set_error(array('imglib_unsupported_imagecreate', 'imglib_jpg_not_supported'));
1452
					return FALSE;
1453
				}
1454
1455
				return imagecreatefromjpeg($path);
1456
			case 3:
1457
				if ( ! function_exists('imagecreatefrompng'))
1458
				{
@@ 1456-1463 (lines=8) @@
1453
				}
1454
1455
				return imagecreatefromjpeg($path);
1456
			case 3:
1457
				if ( ! function_exists('imagecreatefrompng'))
1458
				{
1459
					$this->set_error(array('imglib_unsupported_imagecreate', 'imglib_png_not_supported'));
1460
					return FALSE;
1461
				}
1462
1463
				return imagecreatefrompng($path);
1464
			default:
1465
				$this->set_error(array('imglib_unsupported_imagecreate'));
1466
				return FALSE;