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

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

@@ 1617-1624 (lines=8) @@
1614
		$args->menu_srl = $requestArgs->menu_srl;
1615
		$args->name = sprintf('{$lang->menu_gnb_sub[\'%s\']}', $menuName);
1616
		//if now page is https...
1617
		if(strpos($url, 'https') !== false)
1618
		{
1619
			$args->url = str_replace('https'.substr($dbInfo->default_url, 4), '', $url);
1620
		}
1621
		else
1622
		{
1623
			$args->url = str_replace($dbInfo->default_url, '', $url);
1624
		}
1625
		$args->open_window = 'N';
1626
		$args->expand = 'N';
1627
		$args->normal_btn = '';

modules/document/document.model.php 1 location

@@ 1448-1453 (lines=6) @@
1445
					$query_id = 'document.getDocumentListWithinExtraVars';
1446
					break;
1447
				default :
1448
					if(strpos($search_target,'extra_vars')!==false) {
1449
						$args->var_idx = substr($search_target, strlen('extra_vars'));
1450
						$args->var_value = str_replace(' ','%',$search_keyword);
1451
						$args->sort_index = 'documents.'.$args->sort_index;
1452
						$query_id = 'document.getDocumentListWithExtraVars';
1453
					}
1454
					break;
1455
			}
1456
		}