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

modules/admin/admin.admin.model.php 1 location

@@ 356-367 (lines=12) @@
353
		}
354
355
		$oFtp = new ftp();
356
		if($oFtp->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port))
357
		{
358
			if($oFtp->ftp_login($ftp_info->ftp_user, $ftp_info->ftp_password))
359
			{
360
				$_list = $oFtp->ftp_rawlist($this->pwd);
361
				$oFtp->ftp_quit();
362
			}
363
			else
364
			{
365
				return new BaseObject(-1, 'msg_ftp_invalid_auth_info');
366
			}
367
		}
368
		$list = array();
369
370
		if($_list)

modules/install/install.model.php 1 location

@@ 76-88 (lines=13) @@
73
		{
74
			require_once(_XE_PATH_.'libs/ftp.class.php');
75
			$oFtp = new ftp();
76
			if($oFtp->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port))
77
			{
78
				if($oFtp->ftp_login($ftp_info->ftp_user, $ftp_info->ftp_password))
79
				{
80
					$_list = $oFtp->ftp_rawlist($this->pwd);
81
					$oFtp->ftp_quit();
82
				}
83
				else
84
				{
85
					$oFtp->ftp_quit();
86
					return new BaseObject(-1,'msg_ftp_invalid_auth_info');
87
				}
88
			}
89
		}
90
91
		$list = array();