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

@@ 979-996 (lines=18) @@
976
977
		$args = new stdClass();
978
979
		if($point == -1)
980
		{
981
			if($comment_config->use_vote_down != 'S')
982
			{
983
				return new Object(-1, 'msg_invalid_request');
984
			}
985
986
			$args->below_point = 0;
987
		}
988
		else
989
		{
990
			if($comment_config->use_vote_up != 'S')
991
			{
992
				return new Object(-1, 'msg_invalid_request');
993
			}
994
995
			$args->more_point = 0;
996
		}
997
998
		$args->comment_srl = $comment_srl;
999
		$output = executeQueryArray('comment.getVotedMemberList', $args);

modules/document/document.model.php 1 location

@@ 1220-1229 (lines=10) @@
1217
1218
		$oModuleModel = getModel('module');
1219
		$document_config = $oModuleModel->getModulePartConfig('document',$module_srl);
1220
		if($point == -1)
1221
		{
1222
			if($document_config->use_vote_down!='S') return new Object(-1, 'msg_invalid_request');
1223
			$args->below_point = 0;
1224
		}
1225
		else
1226
		{
1227
			if($document_config->use_vote_up!='S') return new Object(-1, 'msg_invalid_request');
1228
			$args->more_point = 0;
1229
		}
1230
1231
		$args->document_srl = $document_srl;
1232