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 = 5-10 lines in 3 locations

modules/comment/comment.model.php 1 location

@@ 724-733 (lines=10) @@
721
					$args->s_content = $search_keyword;
722
					break;
723
724
				case 'user_id' :
725
					if($search_keyword)
726
					{
727
						$search_keyword = str_replace(' ', '%', $search_keyword);
728
					}
729
730
					$args->s_user_id = $search_keyword;
731
					$query_id = 'comment.getTotalCommentListWithinMember';
732
					$args->sort_index = 'comments.list_order';
733
					break;
734
735
				case 'user_name' :
736
					if($search_keyword)

modules/document/document.model.php 2 locations

@@ 1163-1167 (lines=5) @@
1160
					$args->s_title = $search_keyword;
1161
					$args->s_content = $search_keyword;
1162
					break;
1163
				case 'user_id' :
1164
					if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
1165
					$args->s_user_id = $search_keyword;
1166
					$args->sort_index = 'documents.'.$args->sort_index;
1167
					break;
1168
				case 'user_name' :
1169
				case 'nick_name' :
1170
				case 'email_address' :
@@ 1410-1414 (lines=5) @@
1407
					$args->s_content = $search_keyword;
1408
					$use_division = true;
1409
					break;
1410
				case 'user_id' :
1411
					if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
1412
					$args->s_user_id = $search_keyword;
1413
					$args->sort_index = 'documents.'.$args->sort_index;
1414
					break;
1415
				case 'user_name' :
1416
				case 'nick_name' :
1417
				case 'email_address' :