protected function runTaskOverSSH(Task $task)
{
// If the pretending option has been set, we'll simply dump the script out to the command
// line so the developer can inspect it which is useful for just inspecting the script
// before it is actually run against these servers. Allows checking for errors, etc.
if ($this->pretending()) {
echo $task->script . PHP_EOL;
return 1;
} else {
return $this->passToRemoteProcessor($task);
}
}