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

config/func.inc.php 2 locations

@@ 411-425 (lines=15) @@
408
 * 
409
 * @return string
410
 */
411
function getSiteUrl()
412
{
413
	$num_args = func_num_args();
414
	$args_list = func_get_args();
415
416
	if(!$num_args)
417
	{
418
		return Context::getRequestUri();
419
	}
420
421
	$domain = array_shift($args_list);
422
	$num_args = count($args_list);
423
424
	return Context::getUrl($num_args, $args_list, $domain);
425
}
426
427
/**
428
 * getSiteUrl() returns the not encoded URL by transforming the given argument value of domain
@@ 433-447 (lines=15) @@
430
 * 
431
 * @return string
432
 */
433
function getNotEncodedSiteUrl()
434
{
435
	$num_args = func_num_args();
436
	$args_list = func_get_args();
437
438
	if(!$num_args)
439
	{
440
		return Context::getRequestUri();
441
	}
442
443
	$domain = array_shift($args_list);
444
	$num_args = count($args_list);
445
446
	return Context::getUrl($num_args, $args_list, $domain, FALSE);
447
}
448
449
/**
450
 * Return the value adding request uri to the getSiteUrl() To get the full url