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

modules/admin/admin.admin.model.php 1 location

@@ 765-775 (lines=11) @@
762
				$oModuleModel = getModel('module');
763
				$installed_module_list = $oModuleModel->getModulesXmlInfo();
764
765
				foreach($installed_module_list as $key => $value)
766
				{
767
					$moduleActionInfo = $oModuleModel->getModuleActionXml($value->module);
768
					if(is_object($moduleActionInfo->menu))
769
					{
770
						foreach($moduleActionInfo->menu as $key2 => $value2)
771
						{
772
							$lang[$key2] = $value2->title;
773
						}
774
					}
775
				}
776
777
				$oCacheHandler->put($cache_key, $lang);
778
			}

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

@@ 1571-1576 (lines=6) @@
1568
		{
1569
			$currentLang = Context::getLangType();
1570
			$menuList = array();
1571
			foreach($installed_module_list AS $key=>$value)
1572
			{
1573
				$info = $oModuleModel->getModuleActionXml($value->module);
1574
				if($info->menu) $menuList[$value->module] = $info->menu;
1575
				unset($info->menu);
1576
			}
1577
		}
1578
		$this->add('menuList', $menuList);
1579
	}