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

@@ 909-912 (lines=4) @@
906
		if(!$output->toBool()) return $output;
907
		
908
		// Remove a file directory of the document
909
		for($i=0, $c=count($path); $i<$c; $i++)
910
		{
911
			FileHandler::removeBlankDir($path[$i]);
912
		}
913
914
		return $output;
915
	}