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

@@ 939-942 (lines=4) @@
936
		if(!$output->toBool()) return $output;
937
		
938
		// Remove a file directory of the document
939
		for($i=0, $c=count($path); $i<$c; $i++)
940
		{
941
			FileHandler::removeBlankDir($path[$i]);
942
		}
943
944
		return $output;
945
	}