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

protected/extensions/elFinder/php/elFinderVolumeFTP.class.php 2 locations

@@ 785-788 (lines=4) @@
782
			$local  = $this->tmp.DIRECTORY_SEPARATOR.md5($source);
783
			$target = $targetDir.DIRECTORY_SEPARATOR.$name;
784
785
			if (ftp_get($this->connect, $local, $source, FTP_BINARY)
786
			&& ftp_put($this->connect, $target, $local, $this->ftpMode($target))) {
787
				$res = $target;
788
			}
789
			@unlink($local);
790
		}
791
		
@@ 1028-1032 (lines=5) @@
1025
					break;
1026
				}
1027
				$targetPath = $newPath . DIRECTORY_SEPARATOR . $filename;
1028
				if (is_dir($filename)) {
1029
					$success = $this->_mkdir($newPath, $filename);
1030
				} else {
1031
					$success = ftp_put($this->connect, $targetPath, $filename, FTP_BINARY);
1032
				}
1033
			}
1034
			unset($filename);
1035