@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Consolidation\SiteProcess; |
| 4 | 4 | |
| 5 | -use Drush\Drush; |
|
| 6 | 5 | use Psr\Log\LoggerInterface; |
| 7 | -use Robo\Common\IO; |
|
| 8 | 6 | use Symfony\Component\Console\Style\OutputStyle; |
| 9 | 7 | use Symfony\Component\Process\Process; |
| 10 | 8 | use Consolidation\SiteProcess\Util\RealtimeOutputHandler; |
@@ -50,6 +50,9 @@ discard block |
||
| 50 | 50 | return $this->output; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @return \Symfony\Component\Console\Output\OutputInterface |
|
| 55 | + */ |
|
| 53 | 56 | protected function realtimeStderr() |
| 54 | 57 | { |
| 55 | 58 | if ($this->stderr) { |
@@ -165,7 +168,7 @@ discard block |
||
| 165 | 168 | /** |
| 166 | 169 | * Return a realTime output object. |
| 167 | 170 | * |
| 168 | - * @return callable |
|
| 171 | + * @return RealtimeOutputHandler |
|
| 169 | 172 | */ |
| 170 | 173 | public function showRealtime() |
| 171 | 174 | { |
@@ -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 | use Consolidation\SiteAlias\SiteAliasManager; |
| 10 | 8 | |
@@ -109,6 +109,8 @@ |
||
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | 111 | * Make sure that every line in $buffer begins with a MARKER_ERR. |
| 112 | + * @param string $buffer |
|
| 113 | + * @param string $marker |
|
| 112 | 114 | */ |
| 113 | 115 | protected function addMarker($buffer, $marker) |
| 114 | 116 | { |
@@ -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 | use Symfony\Component\Console\Output\NullOutput; |
| 9 | 7 | |