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-4 lines in 3 locations

modules/editor/editor.controller.php 1 location

@@ 63-63 (lines=1) @@
60
		if(method_exists($oComponent, $method)) $output = $oComponent->{$method}();
61
		else return new Object(-1,sprintf('%s method is not exists', $method));
62
63
		if((is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output;
64
65
		$this->setError($oComponent->getError());
66
		$this->setMessage($oComponent->getMessage());

classes/db/DB.class.php 2 locations

@@ 627-630 (lines=4) @@
624
625
		$output = include($cache_file);
626
627
		if((is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool())
628
		{
629
			return $output;
630
		}
631
632
		// execute appropriate query
633
		switch($output->getAction())
@@ 660-663 (lines=4) @@
657
		{
658
			$output = $this->getError();
659
		}
660
		else if(!is_a($output, 'Object') && !is_subclass_of($output, 'Object'))
661
		{
662
			$output = new Object();
663
		}
664
		$output->add('_query', $this->query);
665
		$output->add('_elapsed_time', sprintf("%0.5f", $this->elapsed_time));
666