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

modules/syndication/syndication.model.php 2 locations

@@ 513-519 (lines=7) @@
510
		}
511
512
		if($output->data) {
513
			foreach($output->data as $key => $val) {
514
				$val->id = $this->getID('article', $val->module_srl.'-'.$val->document_srl);
515
				$val->deleted = date("Y-m-d\\TH:i:s", ztime($val->regdate)).$time_zone;
516
				$val->alternative_href = getFullSiteUrl($this->uri_scheme . $this->site_url, '', 'document_srl', $val->document_srl);
517
				$val->channel_id = $this->getID('channel', $val->module_srl.'-'.$val->document_srl);
518
				$output->data[$key] = $val;
519
			}
520
			$result->list = $output->data;
521
		}
522
		return $result;
@@ 530-536 (lines=7) @@
527
		$args = new stdClass;
528
		$args->document_srl = $document_srl;
529
		$output = executeQueryArray('syndication.getDeletedList', $args);
530
		foreach($output->data as $key => $val) {
531
			$val->id = $this->getID('article', $val->module_srl.'-'.$val->document_srl);
532
			$val->deleted = date("Y-m-d\\TH:i:s", ztime($val->regdate)).$time_zone;
533
			$val->alternative_href = getFullSiteUrl($this->uri_scheme . $this->site_url, '', 'document_srl', $val->document_srl);
534
			$val->channel_id = $this->getID('channel', $val->module_srl.'-'.$val->document_srl);
535
			$output->data[$key] = $val;
536
		}
537
538
		return $output->data;
539
	}