Skip to content

Commit

Permalink
Merge pull request #1098 from deployphp/analysis-8LPb3n
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
antonmedv authored Mar 13, 2017
2 parents 6edb6d7 + 4a1c12b commit f04f2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Ssh/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ public function run(Host $host, string $command, array $config = [])

public function upload(Host $host, $source, $destination)
{

}

public function download(Host $host, $source, $destination)
{

}


Expand Down Expand Up @@ -171,7 +169,7 @@ private function initMultiplexing(Host $host)
$options .= " -o ControlMaster=auto";
$options .= " -o ControlPersist=60";
$options .= " -o ControlPath=$controlPath";

$process = new Process("ssh $options -O check -S $controlPath $host 2>&1");
$process->run();

Expand Down
2 changes: 1 addition & 1 deletion src/Utility/Unix.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public static function parseHomeDir(string $path): string

return $path;
}
}
}

0 comments on commit f04f2db

Please sign in to comment.