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

component/admin/models/packagefile.php 1 location

@@ 587-593 (lines=7) @@
584
		$app = JFactory::getApplication();
585
586
		// Prevent generating and downloading Master package
587
		if (strpos($data['name'], 'master_') !== false)
588
		{
589
			$app->enqueueMessage(JText::sprintf('COM_LOCALISE_ERROR_MASTER_PACKAGE_DOWNLOAD_FORBIDDEN', $data['name']), 'warning');
590
			$app->redirect(JRoute::_('index.php?option=com_localise&view=packagefile&layout=edit&id=' . $this->getState('packagefile.id'), false));
591
592
			return false;
593
		}
594
595
		$administrator = array();
596
		$site          = array();

component/admin/models/package.php 1 location

@@ 603-609 (lines=7) @@
600
		$app = JFactory::getApplication();
601
602
		// Prevent generating and downloading Master package
603
		if (strpos($data['name'], 'master_') !== false)
604
		{
605
			$app->enqueueMessage(JText::sprintf('COM_LOCALISE_ERROR_MASTER_PACKAGE_DOWNLOAD_FORBIDDEN', $data['name']), 'warning');
606
			$app->redirect(JRoute::_('index.php?option=com_localise&view=package&layout=edit&id=' . $this->getState('package.id'), false));
607
608
			return false;
609
		}
610
611
		// Necessary variables if xx-XX.localise.php is not present in target language
612
		$params			= JComponentHelper::getParams('com_localise');