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

includes/class-xcloner.php 3 locations

@@ 391-406 (lines=16) @@
388
									"^(?!(wp-admin|wp-includes|(?!.*\/.*.php)))(.*)$",
389
								);
390
				break;
391
			case 'plugin':
392
			
393
				$dir_array = explode(DS, $plugins_dir);
394
				
395
				foreach($dir_array as $dir)
396
				{
397
					$data .= "\/".$dir;
398
					$regex .= $data."$|";
399
				}
400
				
401
				$regex .= "\/".implode("\/", $dir_array);
402
				
403
				$exclude_files = array(
404
									"^(?!(".$regex."))(.*)$",
405
								);
406
				break;
407
			case 'theme':
408
409
				$dir_array = explode(DS, $themes_dir);
@@ 407-422 (lines=16) @@
404
									"^(?!(".$regex."))(.*)$",
405
								);
406
				break;
407
			case 'theme':
408
409
				$dir_array = explode(DS, $themes_dir);
410
				
411
				foreach($dir_array as $dir)
412
				{
413
					$data .= "\/".$dir;
414
					$regex .= $data."$|";
415
				}
416
				
417
				$regex .= "\/".implode("\/", $dir_array);
418
				
419
				$exclude_files = array(
420
									"^(?!(".$regex."))(.*)$",
421
								);				
422
				break;
423
			case 'translation':
424
425
				$dir_array = explode(DS, $langs_dir);
@@ 423-438 (lines=16) @@
420
									"^(?!(".$regex."))(.*)$",
421
								);				
422
				break;
423
			case 'translation':
424
425
				$dir_array = explode(DS, $langs_dir);
426
				
427
				foreach($dir_array as $dir)
428
				{
429
					$data .= "\/".$dir;
430
					$regex .= $data."$|";
431
				}
432
				
433
				$regex .= "\/".implode("\/", $dir_array);
434
				
435
				$exclude_files = array(
436
									"^(?!(".$regex."))(.*)$",
437
								);				
438
				break;
439
		}
440
		
441
		$schedule = array();