@@ -2,12 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consolidation\SiteProcess\Transport; |
| 4 | 4 | |
| 5 | -use Psr\Log\LoggerInterface; |
|
| 6 | -use Symfony\Component\Console\Style\OutputStyle; |
|
| 7 | 5 | use Symfony\Component\Process\Process; |
| 8 | -use Consolidation\SiteProcess\Util\RealtimeOutputHandler; |
|
| 9 | -use Consolidation\SiteProcess\Util\Escape; |
|
| 10 | -use Symfony\Component\Console\Output\ConsoleOutputInterface; |
|
| 11 | 6 | use Consolidation\SiteAlias\AliasRecord; |
| 12 | 7 | use Consolidation\SiteProcess\Util\Shell; |
| 13 | 8 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @param string $cwd |
|
| 61 | + * @param string $cd |
|
| 62 | 62 | */ |
| 63 | 63 | public function setCd($cd) |
| 64 | 64 | { |
@@ -170,7 +170,6 @@ discard block |
||
| 170 | 170 | * It is possible to use dot notation in the keys to access nested elements |
| 171 | 171 | * within the site alias record. |
| 172 | 172 | * |
| 173 | - * @param AliasRecord $siteAlias |
|
| 174 | 173 | * @param type $args |
| 175 | 174 | * @return type |
| 176 | 175 | */ |
@@ -16,6 +16,7 @@ discard block |
||
| 16 | 16 | /** |
| 17 | 17 | * Configure ourselves based on the settings of the process object |
| 18 | 18 | * (e.g. isTty()). |
| 19 | + * @return void |
|
| 19 | 20 | */ |
| 20 | 21 | public function configure(Process $process); |
| 21 | 22 | |
@@ -25,7 +26,6 @@ discard block |
||
| 25 | 26 | * alias points at a remote system, though, then the arguments are |
| 26 | 27 | * escaped and wrapped in an appropriate ssh command. |
| 27 | 28 | * |
| 28 | - * @param AliasRecord $siteAlias alias record of target site. |
|
| 29 | 29 | * @param array $args arguments provided by caller. |
| 30 | 30 | * @return array command and arguments to execute. |
| 31 | 31 | */ |
@@ -33,6 +33,8 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * addChdir adds an appropriate 'chdir' / 'cd' command for the transport. |
| 36 | + * @param string $cd |
|
| 37 | + * @param \Consolidation\SiteProcess\SiteProcess $process |
|
| 36 | 38 | */ |
| 37 | 39 | public function addChdir($cd, $args, $process); |
| 38 | 40 | } |