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

@@ 157-166 (lines=10) @@
154
		
155
		define("XCLONER_STORAGE_PATH", realpath($backup_storage_path));
156
157
		if(!is_dir($backup_storage_path))
158
		{
159
			if(!@mkdir($backup_storage_path))
160
			{
161
				$status = "error";
162
				$message = sprintf(__("Unable to create the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path);
163
				$this->trigger_message($message, $status, $backup_storage_path);
164
				return;
165
			}
166
		}	
167
		if(!is_writable($backup_storage_path))
168
		{
169
			$status = "error";
@@ 167-174 (lines=8) @@
164
				return;
165
			}
166
		}	
167
		if(!is_writable($backup_storage_path))
168
		{
169
			$status = "error";
170
			$message = sprintf(__("Unable to write to the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path);
171
			$this->trigger_message($message, $status, $backup_storage_path);
172
			
173
			return;
174
		}
175
		
176
	}
177