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 = 13-14 lines in 3 locations

classes/module/ModuleHandler.class.php 3 locations

@@ 565-577 (lines=13) @@
562
			$oModule = $this->getModuleInstance($this->module, $type, $kind);
563
		}
564
565
		if(!is_object($oModule))
566
		{
567
			$this->_setInputErrorToContext();
568
			$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
569
			$oMessageObject->setError(-1);
570
			$oMessageObject->setMessage($this->error);
571
			$oMessageObject->dispMessage();
572
			if($this->httpStatusCode)
573
			{
574
				$oMessageObject->setHttpStatusCode($this->httpStatusCode);
575
			}
576
			return $oMessageObject;
577
		}
578
579
		// If there is no such action in the module object
580
		if(!isset($xml_info->action->{$this->act}) || !method_exists($oModule, $this->act))
@@ 583-596 (lines=14) @@
580
		if(!isset($xml_info->action->{$this->act}) || !method_exists($oModule, $this->act))
581
		{
582
583
			if(!Context::isInstalled())
584
			{
585
				$this->_setInputErrorToContext();
586
				$this->error = 'msg_invalid_request';
587
				$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
588
				$oMessageObject->setError(-1);
589
				$oMessageObject->setMessage($this->error);
590
				$oMessageObject->dispMessage();
591
				if($this->httpStatusCode)
592
				{
593
					$oMessageObject->setHttpStatusCode($this->httpStatusCode);
594
				}
595
				return $oMessageObject;
596
			}
597
598
			$forward = NULL;
599
			// 1. Look for the module with action name
@@ 684-696 (lines=13) @@
681
					$oModule = $this->getModuleInstance($forward->module, $type, $kind);
682
				}
683
684
				if(!is_object($oModule))
685
				{
686
					$this->_setInputErrorToContext();
687
					$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
688
					$oMessageObject->setError(-1);
689
					$oMessageObject->setMessage('msg_module_is_not_exists');
690
					$oMessageObject->dispMessage();
691
					if($this->httpStatusCode)
692
					{
693
						$oMessageObject->setHttpStatusCode($this->httpStatusCode);
694
					}
695
					return $oMessageObject;
696
				}
697
698
				if($this->module == "admin" && $type == "view")
699
				{