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

includes/class-xcloner-api.php 1 location

@@ 252-253 (lines=2) @@
249
		if($return['finished'])
250
		{
251
			$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension();
252
			if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension()))
253
				$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart();
254
		}
255
		
256
		$data = $return;

includes/class-xcloner-scheduler.php 1 location

@@ 277-278 (lines=2) @@
274
		
275
		//getting the last backup archive file
276
		$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension();
277
		if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension()))
278
				$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart();
279
		
280
		$this->update_last_backup($schedule['id'], $return['extra']['backup_parent']);
281