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

@@ 589-598 (lines=10) @@
586
	function loadLangSupported()
587
	{
588
		static $lang_supported = null;
589
		if(!$lang_supported)
590
		{
591
			$langs = file(_XE_PATH_ . 'common/lang/lang.info');
592
			foreach($langs as $val)
593
			{
594
				list($lang_prefix, $lang_text) = explode(',', $val);
595
				$lang_text = trim($lang_text);
596
				$lang_supported[$lang_prefix] = $lang_text;
597
			}
598
		}
599
		return $lang_supported;
600
	}
601
@@ 626-635 (lines=10) @@
623
				FileHandler::writeFile($selected_lang_file, $buff);
624
				$lang_selected = self::loadLangSupported();
625
			}
626
			else
627
			{
628
				$langs = file($selected_lang_file);
629
				foreach($langs as $val)
630
				{
631
					list($lang_prefix, $lang_text) = explode(',', $val);
632
					$lang_text = trim($lang_text);
633
					$lang_selected[$lang_prefix] = $lang_text;
634
				}
635
			}
636
		}
637
		return $lang_selected;
638
	}