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

classes/validator/Validator.class.php 1 location

@@ 817-824 (lines=8) @@
814
		}
815
816
		// error messages
817
		foreach($lang->filter as $key => $text)
818
		{
819
			if($text)
820
			{
821
				$text = preg_replace('@\r?\n@', '\\n', addslashes($text));
822
				$messages[] = "v.cast('ADD_MESSAGE',['{$key}','{$text}']);";
823
			}
824
		}
825
826
		$content = implode(',', $content);
827
		$messages = implode("\n", $messages);

classes/xml/XmlJsFilter.class.php 1 location

@@ 384-392 (lines=9) @@
381
		 */
382
383
		// writes error messages
384
		foreach($lang->filter as $key => $val)
385
		{
386
			if(!$val)
387
			{
388
				$val = $key;
389
			}
390
			$val = preg_replace('@\r?\n@', '\\n', addslashes($val));
391
			$js_messages[] = sprintf("v.cast('ADD_MESSAGE',['%s','%s']);", $key, $val);
392
		}
393
394
		$callback_func = $xml_obj->filter->response->attrs->callback_func;
395
		if(!$callback_func)