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

system/helpers/date_helper.php 5 locations

@@ 200-208 (lines=9) @@
197
		$seconds -= $years * 31557600;
198
		$months = floor($seconds / 2629743);
199
200
		if (count($str) < $units && ($years > 0 OR $months > 0))
201
		{
202
			if ($months > 0)
203
			{
204
				$str[] = $months.' '.$CI->lang->line($months > 1 ? 'date_months' : 'date_month');
205
			}
206
207
			$seconds -= $months * 2629743;
208
		}
209
210
		$weeks = floor($seconds / 604800);
211
@@ 212-220 (lines=9) @@
209
210
		$weeks = floor($seconds / 604800);
211
212
		if (count($str) < $units && ($years > 0 OR $months > 0 OR $weeks > 0))
213
		{
214
			if ($weeks > 0)
215
			{
216
				$str[] = $weeks.' '.$CI->lang->line($weeks > 1 ? 'date_weeks' : 'date_week');
217
			}
218
219
			$seconds -= $weeks * 604800;
220
		}
221
222
		$days = floor($seconds / 86400);
223
@@ 224-232 (lines=9) @@
221
222
		$days = floor($seconds / 86400);
223
224
		if (count($str) < $units && ($months > 0 OR $weeks > 0 OR $days > 0))
225
		{
226
			if ($days > 0)
227
			{
228
				$str[] = $days.' '.$CI->lang->line($days > 1 ? 'date_days' : 'date_day');
229
			}
230
231
			$seconds -= $days * 86400;
232
		}
233
234
		$hours = floor($seconds / 3600);
235
@@ 236-244 (lines=9) @@
233
234
		$hours = floor($seconds / 3600);
235
236
		if (count($str) < $units && ($days > 0 OR $hours > 0))
237
		{
238
			if ($hours > 0)
239
			{
240
				$str[] = $hours.' '.$CI->lang->line($hours > 1 ? 'date_hours' : 'date_hour');
241
			}
242
243
			$seconds -= $hours * 3600;
244
		}
245
246
		$minutes = floor($seconds / 60);
247
@@ 248-256 (lines=9) @@
245
246
		$minutes = floor($seconds / 60);
247
248
		if (count($str) < $units && ($days > 0 OR $hours > 0 OR $minutes > 0))
249
		{
250
			if ($minutes > 0)
251
			{
252
				$str[] = $minutes.' '.$CI->lang->line($minutes > 1 ? 'date_minutes' : 'date_minute');
253
			}
254
255
			$seconds -= $minutes * 60;
256
		}
257
258
		if (count($str) === 0)
259
		{