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

widgets/content/content.class.php 1 location

@@ 618-622 (lines=5) @@
615
				$item->description = ($item->content) ? $item->content : $item->description = $item->summary;
616
				$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
617
618
				if(($item->content && stripos($value->content->attrs->type, "html") === FALSE) || (!$item->content && stripos($value->summary->attrs->type, "html") === FALSE))
619
				{
620
					$item->description = htmlspecialchars($item->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
621
622
				}
623
624
				$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
625
				$content_item->setThumbnail($this->_getRssThumbnail($item->description));

widgets/mcontent/mcontent.class.php 1 location

@@ 567-571 (lines=5) @@
564
				$item->description = ($item->content) ? $item->content : $item->description = $item->summary;
565
				$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
566
	
567
				if(($item->content && stripos($value->content->attrs->type, "html") === FALSE) || (!$item->content && stripos($value->summary->attrs->type, "html") === FALSE))
568
				{
569
					$item->description = htmlspecialchars($item->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
570
	
571
				}
572
	
573
				$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
574
				$content_item->setLink($item->link);