Skip to content

Commit

Permalink
Ssh should implement PrintedInterface (#1152)
Browse files Browse the repository at this point in the history
It uses ExecTrait so it has the getPrinted() method
  • Loading branch information
prudloff-insite authored Mar 11, 2024
1 parent fec6afc commit 0e1f409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Task/Remote/Ssh.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Robo\Task\Remote;

use Robo\Contract\CommandInterface;
use Robo\Contract\PrintedInterface;
use Robo\Exception\TaskException;
use Robo\Task\BaseTask;
use Robo\Contract\SimulatedInterface;
Expand Down Expand Up @@ -43,7 +44,7 @@
* \Robo\Task\Remote\Ssh::configure('remoteDir', '/some-dir');
* ```
*/
class Ssh extends BaseTask implements CommandInterface, SimulatedInterface
class Ssh extends BaseTask implements CommandInterface, SimulatedInterface, PrintedInterface
{
use CommandReceiver;
use ExecOneCommand;
Expand Down

0 comments on commit 0e1f409

Please sign in to comment.