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

@@ 901-904 (lines=4) @@
898
		if(!$output->toBool()) return $output;
899
		
900
		// Remove a file directory of the document
901
		for($i=0, $c=count($path); $i<$c; $i++)
902
		{
903
			FileHandler::removeBlankDir($path[$i]);
904
		}
905
906
		return $output;
907
	}