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

@@ 564-576 (lines=13) @@
561
			$oModule = $this->getModuleInstance($this->module, $type, $kind);
562
		}
563
564
		if(!is_object($oModule))
565
		{
566
			$this->_setInputErrorToContext();
567
			$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
568
			$oMessageObject->setError(-1);
569
			$oMessageObject->setMessage($this->error);
570
			$oMessageObject->dispMessage();
571
			if($this->httpStatusCode)
572
			{
573
				$oMessageObject->setHttpStatusCode($this->httpStatusCode);
574
			}
575
			return $oMessageObject;
576
		}
577
578
		// If there is no such action in the module object
579
		if(!isset($xml_info->action->{$this->act}) || !method_exists($oModule, $this->act))
@@ 582-595 (lines=14) @@
579
		if(!isset($xml_info->action->{$this->act}) || !method_exists($oModule, $this->act))
580
		{
581
582
			if(!Context::isInstalled())
583
			{
584
				$this->_setInputErrorToContext();
585
				$this->error = 'msg_invalid_request';
586
				$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
587
				$oMessageObject->setError(-1);
588
				$oMessageObject->setMessage($this->error);
589
				$oMessageObject->dispMessage();
590
				if($this->httpStatusCode)
591
				{
592
					$oMessageObject->setHttpStatusCode($this->httpStatusCode);
593
				}
594
				return $oMessageObject;
595
			}
596
597
			$forward = NULL;
598
			// 1. Look for the module with action name
@@ 700-712 (lines=13) @@
697
					$oModule = $this->getModuleInstance($forward->module, $type, $kind);
698
				}
699
700
				if(!is_object($oModule))
701
				{
702
					$this->_setInputErrorToContext();
703
					$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
704
					$oMessageObject->setError(-1);
705
					$oMessageObject->setMessage('msg_module_is_not_exists');
706
					$oMessageObject->dispMessage();
707
					if($this->httpStatusCode)
708
					{
709
						$oMessageObject->setHttpStatusCode($this->httpStatusCode);
710
					}
711
					return $oMessageObject;
712
				}
713
714
				if($this->module == "admin" && $type == "view")
715
				{