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

widgets/content/content.class.php 2 locations

@@ 489-513 (lines=25) @@
486
487
			$content_items = array();
488
489
			foreach ($items as $key => $value)
490
			{
491
				if($key >= $args->list_count * $args->page_count) break;
492
				unset($item);
493
494
				foreach($value as $key2 => $value2)
495
				{
496
					if(is_array($value2)) $value2 = array_shift($value2);
497
					$item->{$key2} = $this->_getRssBody($value2);
498
				}
499
500
				$content_item = new contentItem($rss->title);
501
				$content_item->setContentsLink($rss->link);
502
				$content_item->setTitle($item->title);
503
				$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
504
				//$content_item->setCategory($item->category);
505
				$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
506
				$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
507
				$content_item->setThumbnail($this->_getRssThumbnail($item->description));
508
				$content_item->setLink($item->link);
509
				$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
510
				$content_item->setRegdate($date);
511
512
				$content_items[] = $content_item;
513
			}
514
		}
515
		else if($xml_doc->{'rdf:rdf'})
516
		{
@@ 528-552 (lines=25) @@
525
526
			$content_items = array();
527
528
			foreach ($items as $key => $value)
529
			{
530
				if($key >= $args->list_count * $args->page_count) break;
531
				unset($item);
532
533
				foreach($value as $key2 => $value2)
534
				{
535
					if(is_array($value2)) $value2 = array_shift($value2);
536
					$item->{$key2} = $this->_getRssBody($value2);
537
				}
538
539
				$content_item = new contentItem($rss->title);
540
				$content_item->setContentsLink($rss->link);
541
				$content_item->setTitle($item->title);
542
				$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
543
				//$content_item->setCategory($item->category);
544
				$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
545
				$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
546
				$content_item->setThumbnail($this->_getRssThumbnail($item->description));
547
				$content_item->setLink($item->link);
548
				$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
549
				$content_item->setRegdate($date);
550
551
				$content_items[] = $content_item;
552
			}
553
		}
554
		else if($xml_doc->feed && $xml_doc->feed->attrs->xmlns == 'http://www.w3.org/2005/Atom')
555
		{