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

modules/file/file.admin.controller.php 1 location

@@ 51-51 (lines=1) @@
48
			if(!in_array($path_info['dirname'], $path)) $path[] = $path_info['dirname'];
49
		}
50
		// Remove a file directory of the document
51
		for($i=0;$i<count($path);$i++) FileHandler::removeBlankDir($path[$i]);
52
53
		return $output;
54
	}

modules/file/file.controller.php 1 location

@@ 893-896 (lines=4) @@
890
		if(!$output->toBool()) return $output;
891
		
892
		// Remove a file directory of the document
893
		for($i=0, $c=count($path); $i<$c; $i++)
894
		{
895
			FileHandler::removeBlankDir($path[$i]);
896
		}
897
898
		return $output;
899
	}