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

@@ 810-825 (lines=16) @@
807
808
		// Return false if neither attachement nor image files in the document
809
		$content = $this->get('content');
810
		if(!$this->get('uploaded_count'))
811
		{
812
			if(!$content)
813
			{
814
				$args = new stdClass();
815
				$args->document_srl = $this->document_srl;
816
				$output = executeQuery('document.getDocument', $args, array('content'));
817
				if($output->toBool() && $output->data)
818
				{
819
					$content = $output->data->content;
820
					$this->add('content', $content);
821
				}
822
			}
823
824
			if(!preg_match("!<img!is", $content)) return;
825
		}
826
		// Get thumbnai_type information from document module's configuration
827
		if(!in_array($thumbnail_type, array('crop','ratio')))
828
		{