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

includes/class-xcloner.php 2 locations

@@ 97-106 (lines=10) @@
94
		
95
		define("XCLONER_STORAGE_PATH", realpath($backup_storage_path));
96
97
		if(!is_dir($backup_storage_path))
98
		{
99
			if(!@mkdir($backup_storage_path))
100
			{
101
				$status = "error";
102
				$message = sprintf(__("Unable to create the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path);
103
				$this->trigger_message($message, $status, $backup_storage_path);
104
				return;
105
			}
106
		}	
107
		if(!is_writable($backup_storage_path))
108
		{
109
			$status = "error";
@@ 107-114 (lines=8) @@
104
				return;
105
			}
106
		}	
107
		if(!is_writable($backup_storage_path))
108
		{
109
			$status = "error";
110
			$message = sprintf(__("Unable to write to the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path);
111
			$this->trigger_message($message, $status, $backup_storage_path);
112
			
113
			return;
114
		}
115
		
116
	}
117