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

classes/context/Context.class.php 2 locations

@@ 597-606 (lines=10) @@
594
	function loadLangSupported()
595
	{
596
		static $lang_supported = null;
597
		if(!$lang_supported)
598
		{
599
			$langs = file(_XE_PATH_ . 'common/lang/lang.info');
600
			foreach($langs as $val)
601
			{
602
				list($lang_prefix, $lang_text) = explode(',', $val);
603
				$lang_text = trim($lang_text);
604
				$lang_supported[$lang_prefix] = $lang_text;
605
			}
606
		}
607
		return $lang_supported;
608
	}
609
@@ 634-643 (lines=10) @@
631
				FileHandler::writeFile($selected_lang_file, $buff);
632
				$lang_selected = self::loadLangSupported();
633
			}
634
			else
635
			{
636
				$langs = file($selected_lang_file);
637
				foreach($langs as $val)
638
				{
639
					list($lang_prefix, $lang_text) = explode(',', $val);
640
					$lang_text = trim($lang_text);
641
					$lang_selected[$lang_prefix] = $lang_text;
642
				}
643
			}
644
		}
645
		return $lang_selected;
646
	}