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/admin/admin.admin.controller.php 2 locations

@@ 539-545 (lines=7) @@
536
			return new BaseObject(-1, 'msg_invalid_request');
537
		}
538
539
		if(!in_array(Context::getRequestMethod(), array('XMLRPC','JSON')))
540
		{
541
			$returnUrl = Context::get('success_return_url');
542
			if(!$returnUrl) $returnUrl = getNotEncodedUrl('', 'act', 'dispAdminConfigGeneral');
543
			header('location:' . $returnUrl);
544
			return;
545
		}
546
	}
547
548
	function procAdminUpdateEmbedWhitelist()
@@ 583-589 (lines=7) @@
580
		$oEmbedFilter = EmbedFilter::getInstance();
581
		$oEmbedFilter->_makeWhiteDomainList($whitelist);
582
583
		if(!in_array(Context::getRequestMethod(), array('XMLRPC','JSON')))
584
		{
585
			$returnUrl = Context::get('success_return_url');
586
			if(!$returnUrl) $returnUrl = getNotEncodedUrl('', 'act', 'dispAdminConfigGeneral');
587
			header('location:' . $returnUrl);
588
			return;
589
		}
590
	}
591
592
}