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

@@ 818-825 (lines=8) @@
815
		$copy($dst_img, $src_img, 0, 0, $this->x_axis, $this->y_axis, $this->width, $this->height, $this->orig_width, $this->orig_height);
816
817
		// Show the image
818
		if ($this->dynamic_output === TRUE)
819
		{
820
			$this->image_display_gd($dst_img);
821
		}
822
		elseif ( ! $this->image_save_gd($dst_img)) // Or save it
823
		{
824
			return FALSE;
825
		}
826
827
		// Kill the file handles
828
		imagedestroy($dst_img);
@@ 1019-1026 (lines=8) @@
1016
		$dst_img = imagerotate($src_img, $this->rotation_angle, $white);
1017
1018
		// Show the image
1019
		if ($this->dynamic_output === TRUE)
1020
		{
1021
			$this->image_display_gd($dst_img);
1022
		}
1023
		elseif ( ! $this->image_save_gd($dst_img)) // ... or save it
1024
		{
1025
			return FALSE;
1026
		}
1027
1028
		// Kill the file handles
1029
		imagedestroy($dst_img);