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/package.php 2 locations

@@ 692-698 (lines=7) @@
689
				}
690
			}
691
692
			if (!JFile::exists($path) || empty($xmldata))
693
			{
694
				$app->enqueueMessage(JText::sprintf('COM_LOCALISE_ERROR_NO_XML', JText::_('JSITE'), $data['language'] . '.xml', 'error'));
695
				$app->redirect(JRoute::_('index.php?option=com_localise&view=package&layout=edit&id=' . $this->getState('package.id'), false));
696
697
				return false;
698
			}
699
700
			// Generate site package
701
			$site_package_files = array();
@@ 899-905 (lines=7) @@
896
				$xmldata = file_get_contents($path);
897
			}
898
899
			if (!JFile::exists($path) || empty($xmldata))
900
			{
901
				$app->enqueueMessage(JText::sprintf('COM_LOCALISE_ERROR_NO_XML', JText::_('JADMINISTRATOR'), $data['language'] . '.xml', 'error'));
902
				$app->redirect(JRoute::_('index.php?option=com_localise&view=package&layout=edit&id=' . $this->getState('package.id'), false));
903
904
				return false;
905
			}
906
907
			// Generate administrator package
908
			$admin_package_files = array();