@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace Consolidation\SiteProcess\Remo; |
4 | 4 | |
5 | 5 | use Consolidation\SiteProcess\SiteProcess; |
6 | - |
|
7 | -use Consolidation\SiteAlias\SiteAliasManagerAwareInterface; |
|
8 | 6 | use Consolidation\SiteAlias\SiteAliasManagerAwareTrait; |
9 | 7 | |
10 | 8 | class RemoCommands extends \Robo\Tasks |
@@ -1,9 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Consolidation\SiteProcess\Util; |
3 | 3 | |
4 | -use Consolidation\SiteAlias\AliasRecord; |
|
5 | 4 | use Symfony\Component\Process\Process; |
6 | -use Consolidation\Config\Util\Interpolator; |
|
7 | 5 | use Symfony\Component\Console\Output\OutputInterface; |
8 | 6 | |
9 | 7 | /** |
@@ -145,7 +145,6 @@ |
||
145 | 145 | * It is possible to use dot notation in the keys to access nested elements |
146 | 146 | * within the site alias record. |
147 | 147 | * |
148 | - * @param AliasRecord $siteAlias |
|
149 | 148 | * @param type $args |
150 | 149 | * @return type |
151 | 150 | */ |
@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Configure ourselves based on the settings of the process object |
15 | 15 | * (e.g. isTty()). |
16 | + * @return void |
|
16 | 17 | */ |
17 | 18 | public function configure(Process $process); |
18 | 19 | |
@@ -22,7 +23,6 @@ discard block |
||
22 | 23 | * alias points at a remote system, though, then the arguments are |
23 | 24 | * escaped and wrapped in an appropriate ssh command. |
24 | 25 | * |
25 | - * @param AliasRecord $siteAlias alias record of target site. |
|
26 | 26 | * @param array $args arguments provided by caller. |
27 | 27 | * @return array command and arguments to execute. |
28 | 28 | */ |
@@ -18,10 +18,10 @@ |
||
18 | 18 | * to be executed and orders them as needed. |
19 | 19 | * |
20 | 20 | * @param AliasRecord $siteAlias Description of |
21 | - * @param array $args Command and arguments to execute (source) |
|
22 | - * @param array $options key / value pair of option and value in include |
|
21 | + * @param string $args Command and arguments to execute (source) |
|
22 | + * @param string $options key / value pair of option and value in include |
|
23 | 23 | * in final arguments |
24 | - * @param array $optionsPassedAsArgs key / value pair of option and value |
|
24 | + * @param string $optionsPassedAsArgs key / value pair of option and value |
|
25 | 25 | * to include in final arguments after the '--' argument. |
26 | 26 | * @return array Command and arguments to execute |
27 | 27 | */ |
@@ -2,8 +2,6 @@ |
||
2 | 2 | namespace Consolidation\SiteProcess\Util; |
3 | 3 | |
4 | 4 | use Consolidation\SiteAlias\AliasRecord; |
5 | -use Symfony\Component\Process\Process; |
|
6 | -use Consolidation\SiteProcess\Transport\TransportInterface; |
|
7 | 5 | |
8 | 6 | /** |
9 | 7 | * ArgumentProcessor takes a set of arguments and options from the caller |