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-6 lines in 8 locations

component/admin/models/translations.php 8 locations

@@ 321-325 (lines=5) @@
318
										$translation->setProperties(array('type' => 'joomla', 'filename' => 'joomla', 'name' => JText::_('COM_LOCALISE_TEXT_TRANSLATIONS_JOOMLA')));
319
										$this->translations["$client|$tag|joomla"] = $translation;
320
									}
321
									elseif ($file == "$tag.finder_cli.ini" && preg_match("/$filter_type/", 'file'))
322
									{
323
										$translation->setProperties(array('type' => 'file', 'filename' => $filename, 'name' => $filename));
324
										$this->translations["$client|$tag|$filename"] = $translation;
325
									}
326
									elseif ($file == "$tag.files_joomla.sys.ini" && preg_match("/$filter_type/", 'file'))
327
									{
328
										$translation->setProperties(array('type' => 'file', 'filename' => $filename, 'name' => $filename));
@@ 326-330 (lines=5) @@
323
										$translation->setProperties(array('type' => 'file', 'filename' => $filename, 'name' => $filename));
324
										$this->translations["$client|$tag|$filename"] = $translation;
325
									}
326
									elseif ($file == "$tag.files_joomla.sys.ini" && preg_match("/$filter_type/", 'file'))
327
									{
328
										$translation->setProperties(array('type' => 'file', 'filename' => $filename, 'name' => $filename));
329
										$this->translations["$client|$tag|$filename"] = $translation;
330
									}
331
									elseif ($prefix == "$tag.com" && preg_match("/$filter_type/", 'component'))
332
									{
333
										// Scan component ini file
@@ 331-336 (lines=6) @@
328
										$translation->setProperties(array('type' => 'file', 'filename' => $filename, 'name' => $filename));
329
										$this->translations["$client|$tag|$filename"] = $translation;
330
									}
331
									elseif ($prefix == "$tag.com" && preg_match("/$filter_type/", 'component'))
332
									{
333
										// Scan component ini file
334
										$translation->setProperties(array('type' => 'component', 'filename' => $filename, 'name' => $filename));
335
										$this->translations["$client|$tag|$filename"] = $translation;
336
									}
337
									elseif ($prefix == "$tag.mod" && preg_match("/$filter_type/", 'module'))
338
									{
339
										// Scan module ini file
@@ 337-342 (lines=6) @@
334
										$translation->setProperties(array('type' => 'component', 'filename' => $filename, 'name' => $filename));
335
										$this->translations["$client|$tag|$filename"] = $translation;
336
									}
337
									elseif ($prefix == "$tag.mod" && preg_match("/$filter_type/", 'module'))
338
									{
339
										// Scan module ini file
340
										$translation->setProperties(array('type' => 'module', 'filename' => $filename, 'name' => $filename));
341
										$this->translations["$client|$tag|$filename"] = $translation;
342
									}
343
									elseif ($prefix == "$tag.tpl" && preg_match("/$filter_type/", 'template'))
344
									{
345
										// Scan template ini file
@@ 343-348 (lines=6) @@
340
										$translation->setProperties(array('type' => 'module', 'filename' => $filename, 'name' => $filename));
341
										$this->translations["$client|$tag|$filename"] = $translation;
342
									}
343
									elseif ($prefix == "$tag.tpl" && preg_match("/$filter_type/", 'template'))
344
									{
345
										// Scan template ini file
346
										$translation->setProperties(array('type' => 'template', 'filename' => $filename, 'name' => $filename));
347
										$this->translations["$client|$tag|$filename"] = $translation;
348
									}
349
									elseif ($prefix == "$tag.plg" && preg_match("/$filter_type/", 'plugin'))
350
									{
351
										// Scan plugin ini file
@@ 349-354 (lines=6) @@
346
										$translation->setProperties(array('type' => 'template', 'filename' => $filename, 'name' => $filename));
347
										$this->translations["$client|$tag|$filename"] = $translation;
348
									}
349
									elseif ($prefix == "$tag.plg" && preg_match("/$filter_type/", 'plugin'))
350
									{
351
										// Scan plugin ini file
352
										$translation->setProperties(array('type' => 'plugin', 'filename' => $filename, 'name' => $filename));
353
										$this->translations["$client|$tag|$filename"] = $translation;
354
									}
355
									elseif ($prefix == "$tag.pkg" && preg_match("/$filter_type/", 'package'))
356
									{
357
										// Scan package ini file
@@ 355-360 (lines=6) @@
352
										$translation->setProperties(array('type' => 'plugin', 'filename' => $filename, 'name' => $filename));
353
										$this->translations["$client|$tag|$filename"] = $translation;
354
									}
355
									elseif ($prefix == "$tag.pkg" && preg_match("/$filter_type/", 'package'))
356
									{
357
										// Scan package ini file
358
										$translation->setProperties(array('type' => 'package', 'filename' => $filename, 'name' => $filename));
359
										$this->translations["$client|$tag|$filename"] = $translation;
360
									}
361
									elseif ($prefix == "$tag.lib" && preg_match("/$filter_type/", 'library'))
362
									{
363
										// Scan library ini file
@@ 361-366 (lines=6) @@
358
										$translation->setProperties(array('type' => 'package', 'filename' => $filename, 'name' => $filename));
359
										$this->translations["$client|$tag|$filename"] = $translation;
360
									}
361
									elseif ($prefix == "$tag.lib" && preg_match("/$filter_type/", 'library'))
362
									{
363
										// Scan library ini file
364
										$translation->setProperties(array('type' => 'library', 'filename' => $filename, 'name' => $filename));
365
										$this->translations["$client|$tag|$filename"] = $translation;
366
									}
367
								}
368
							}
369
						}