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

modules/comment/comment.model.php 1 location

@@ 993-1010 (lines=18) @@
990
991
		$args = new stdClass();
992
993
		if($point == -1)
994
		{
995
			if($comment_config->use_vote_down != 'S')
996
			{
997
				return new BaseObject(-1, 'msg_invalid_request');
998
			}
999
1000
			$args->below_point = 0;
1001
		}
1002
		else
1003
		{
1004
			if($comment_config->use_vote_up != 'S')
1005
			{
1006
				return new BaseObject(-1, 'msg_invalid_request');
1007
			}
1008
1009
			$args->more_point = 0;
1010
		}
1011
1012
		$args->comment_srl = $comment_srl;
1013
		$output = executeQueryArray('comment.getVotedMemberList', $args);

modules/document/document.model.php 1 location

@@ 1233-1242 (lines=10) @@
1230
1231
		$oModuleModel = getModel('module');
1232
		$document_config = $oModuleModel->getModulePartConfig('document',$module_srl);
1233
		if($point == -1)
1234
		{
1235
			if($document_config->use_vote_down!='S') return new BaseObject(-1, 'msg_invalid_request');
1236
			$args->below_point = 0;
1237
		}
1238
		else
1239
		{
1240
			if($document_config->use_vote_up!='S') return new BaseObject(-1, 'msg_invalid_request');
1241
			$args->more_point = 0;
1242
		}
1243
1244
		$args->document_srl = $document_srl;
1245