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

modules/importer/importer.admin.controller.php 2 locations

@@ 119-139 (lines=21) @@
116
		else
117
		{
118
			$output = executeQueryArray ('importer.getDocumentMemberSrlWithUserID'.$postFix);
119
			if(is_array ($output->data) && count ($output->data))
120
			{
121
				$success_count = 0;
122
				$error_count = 0;
123
				$total_count = 0;
124
				foreach ($output->data as $val)
125
				{
126
					$args->user_id = $val->user_id;
127
					$args->member_srl = $val->member_srl;
128
					$tmp = executeQuery ('importer.updateDocumentSyncForCUBRID'.$postFix, $args);
129
					if($tmp->toBool () === true)
130
					{
131
						$success_count++;
132
					}
133
					else
134
					{
135
						$error_count++;
136
					}
137
					$total_count++;
138
				}
139
			} // documents section
140
141
			$output = executeQueryArray ('importer.getCommentMemberSrlWithUserID'.$postFix);
142
			if(is_array ($output->data) && count ($output->data))
@@ 142-162 (lines=21) @@
139
			} // documents section
140
141
			$output = executeQueryArray ('importer.getCommentMemberSrlWithUserID'.$postFix);
142
			if(is_array ($output->data) && count ($output->data))
143
			{
144
				$success_count = 0;
145
				$error_count = 0;
146
				$total_count = 0;
147
				foreach ($output->data as $val)
148
				{
149
					$args->user_id = $val->user_id;
150
					$args->member_srl = $val->member_srl;
151
					$tmp = executeQuery ('importer.updateCommentSyncForCUBRID'.$postFix, $args);
152
					if($tmp->toBool () === true)
153
					{
154
						$success_count++;
155
					}
156
					else
157
					{
158
						$error_count++;
159
					}
160
					$total_count++;
161
				}
162
			} // comments section
163
		}
164
165
		$this->setMessage('msg_sync_completed');