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

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