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

@@ 269-270 (lines=2) @@
266
		if($return['finished'])
267
		{
268
			$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension();
269
			if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension()))
270
				$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart();
271
		}
272
		
273
		$data = $return;

includes/class-xcloner-scheduler.php 1 location

@@ 297-298 (lines=2) @@
294
		
295
		//getting the last backup archive file
296
		$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension();
297
		if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension()))
298
				$return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart();
299
		
300
		$this->update_last_backup($schedule['id'], $return['extra']['backup_parent']);
301