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

modules/editor/editor.controller.php 1 location

@@ 56-56 (lines=1) @@
53
		$oComponent = &$oEditorModel->getComponentObject($component);
54
		if(!$oComponent->toBool()) return $oComponent;
55
56
		if(!method_exists($oComponent, $method)) return new BaseObject(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
57
58
		//$output = call_user_method($method, $oComponent);
59
		//$output = call_user_func(array($oComponent, $method));

modules/editor/editor.model.php 1 location

@@ 554-554 (lines=1) @@
551
			// Create an object of the component and execute
552
			$class_path = sprintf('%scomponents/%s/', $this->module_path, $component);
553
			$class_file = sprintf('%s%s.class.php', $class_path, $component);
554
			if(!file_exists($class_file)) return new BaseObject(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
555
			// Create an object after loading the class file
556
			require_once($class_file);
557
			$oComponent = new $component($editor_sequence, $class_path);