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

system/libraries/Image_lib.php 2 locations

@@ 1363-1370 (lines=8) @@
1360
			$drp_color = imagecolorclosest($src_img, hexdec($drp_color[0]), hexdec($drp_color[1]), hexdec($drp_color[2]));
1361
1362
			// Add the shadow to the source image
1363
			if ($this->wm_use_truetype)
1364
			{
1365
				imagettftext($src_img, $this->wm_font_size, 0, $x_shad, $y_shad, $drp_color, $this->wm_font_path, $this->wm_text);
1366
			}
1367
			else
1368
			{
1369
				imagestring($src_img, $this->wm_font_size, $x_shad, $y_shad, $this->wm_text, $drp_color);
1370
			}
1371
		}
1372
1373
		/* Set RGB values for text
@@ 1383-1390 (lines=8) @@
1380
		$txt_color = imagecolorclosest($src_img, hexdec($txt_color[0]), hexdec($txt_color[1]), hexdec($txt_color[2]));
1381
1382
		// Add the text to the source image
1383
		if ($this->wm_use_truetype)
1384
		{
1385
			imagettftext($src_img, $this->wm_font_size, 0, $x_axis, $y_axis, $txt_color, $this->wm_font_path, $this->wm_text);
1386
		}
1387
		else
1388
		{
1389
			imagestring($src_img, $this->wm_font_size, $x_axis, $y_axis, $this->wm_text, $txt_color);
1390
		}
1391
1392
		// We can preserve transparency for PNG images
1393
		if ($this->image_type === 3)