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

modules/comment/comment.item.php 1 location

@@ 385-395 (lines=11) @@
382
		return zdate($this->get('regdate'), $format);
383
	}
384
385
	function getRegdateTime()
386
	{
387
		$regdate = $this->get('regdate');
388
		$year = substr($regdate, 0, 4);
389
		$month = substr($regdate, 4, 2);
390
		$day = substr($regdate, 6, 2);
391
		$hour = substr($regdate, 8, 2);
392
		$min = substr($regdate, 10, 2);
393
		$sec = substr($regdate, 12, 2);
394
		return mktime($hour, $min, $sec, $month, $day, $year);
395
	}
396
397
	function getRegdateGM()
398
	{

modules/document/document.item.php 1 location

@@ 573-583 (lines=11) @@
570
		return zdate($this->get('regdate'), $format);
571
	}
572
573
	function getRegdateTime()
574
	{
575
		$regdate = $this->get('regdate');
576
		$year = substr($regdate,0,4);
577
		$month = substr($regdate,4,2);
578
		$day = substr($regdate,6,2);
579
		$hour = substr($regdate,8,2);
580
		$min = substr($regdate,10,2);
581
		$sec = substr($regdate,12,2);
582
		return mktime($hour,$min,$sec,$month,$day,$year);
583
	}
584
585
	function getRegdateGM()
586
	{