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

modules/comment/comment.item.php 1 location

@@ 558-573 (lines=16) @@
555
		}
556
557
		$content = $this->get('content');
558
		if(!$this->hasUploadedFiles())
559
		{
560
			if(!$content)
561
			{
562
				$args = new stdClass();
563
				$args->comment_srl = $this->comment_srl;
564
				$output = executeQuery('document.getComment', $args, array('content'));
565
				if($output->toBool() && $output->data)
566
				{
567
					$content = $output->data->content;
568
					$this->add('content', $content);
569
				}
570
			}
571
572
			if(!preg_match("!<img!is", $content)) return;
573
		}
574
575
		// get thumbail generation info on the doc module configuration.
576
		if(!in_array($thumbnail_type, array('crop', 'ratio')))

modules/document/document.item.php 1 location

@@ 827-842 (lines=16) @@
824
825
		// Return false if neither attachement nor image files in the document
826
		$content = $this->get('content');
827
		if(!$this->get('uploaded_count'))
828
		{
829
			if(!$content)
830
			{
831
				$args = new stdClass();
832
				$args->document_srl = $this->document_srl;
833
				$output = executeQuery('document.getDocument', $args, array('content'));
834
				if($output->toBool() && $output->data)
835
				{
836
					$content = $output->data->content;
837
					$this->add('content', $content);
838
				}
839
			}
840
841
			if(!preg_match("!<img!is", $content)) return;
842
		}
843
		// Get thumbnai_type information from document module's configuration
844
		if(!in_array($thumbnail_type, array('crop','ratio')))
845
		{