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

modules/document/document.controller.php 2 locations

@@ 2062-2074 (lines=13) @@
2059
			$oModuleAdminModel = getAdminModel('module');
2060
			$langs = $oModuleAdminModel->getLangCode($site_srl, $title);
2061
2062
			if(count($langs))
2063
			{
2064
				foreach($langs as $key => $val)
2065
				{
2066
					$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
2067
					$php_header_buff .= sprintf(
2068
						'$_titles[%d]["%s"] = "%s"; ',
2069
						$category_srl,
2070
						$key,
2071
						str_replace('"','\\"', $val)
2072
					);
2073
				}
2074
			}
2075
2076
			$langx = $oModuleAdminModel->getLangCode($site_srl, $description);
2077
@@ 2078-2090 (lines=13) @@
2075
2076
			$langx = $oModuleAdminModel->getLangCode($site_srl, $description);
2077
2078
			if(count($langx))
2079
			{
2080
				foreach($langx as $key => $val)
2081
				{
2082
					$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
2083
					$php_header_buff .= sprintf(
2084
						'$_descriptions[%d]["%s"] = "%s"; ',
2085
						$category_srl,
2086
						$key,
2087
						str_replace('"','\\"', $val)
2088
					);
2089
				}
2090
			}
2091
2092
			// Create attributes(Use the category_srl_list to check whether to belong to the menu's node. It seems to be tricky but fast fast and powerful;)
2093
			$attribute = sprintf(