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

modules/admin/admin.admin.model.php 2 locations

@@ 199-206 (lines=8) @@
196
			$ftp_info->ftp_port = '21';
197
		}
198
199
		if($ftp_info->sftp == 'Y')
200
		{
201
			if(!function_exists('ssh2_sftp'))
202
			{
203
				return new BaseObject(-1, 'disable_sftp_support');
204
			}
205
			return $this->getSFTPPath();
206
		}
207
208
		if($ftp_info->ftp_pasv == 'N')
209
		{
@@ 346-353 (lines=8) @@
343
			$ftp_info->ftp_port = "21";
344
		}
345
346
		if($ftp_info->sftp == 'Y')
347
		{
348
			if(!function_exists('ssh2_sftp'))
349
			{
350
				return new BaseObject(-1, 'disable_sftp_support');
351
			}
352
			return $this->getSFTPList();
353
		}
354
355
		$oFtp = new ftp();
356
		if($oFtp->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port))