@@ -89,7 +89,7 @@ |
||
| 89 | 89 | protected function findProjectBin() |
| 90 | 90 | { |
| 91 | 91 | $cwd = getcwd(); |
| 92 | - $candidates = [ __DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin' ]; |
|
| 92 | + $candidates = [__DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin']; |
|
| 93 | 93 | |
| 94 | 94 | // If this project is inside a vendor directory, give highest priority |
| 95 | 95 | // to that directory. |
@@ -262,7 +262,7 @@ |
||
| 262 | 262 | protected function execute($command, $output_callback = null) |
| 263 | 263 | { |
| 264 | 264 | if (!$output_callback) { |
| 265 | - $output_callback = function ($type, $buffer) { |
|
| 265 | + $output_callback = function($type, $buffer) { |
|
| 266 | 266 | print($buffer); |
| 267 | 267 | }; |
| 268 | 268 | } |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Robo\Common; |
| 4 | 4 | |
| 5 | -use Psr\Log\LoggerAwareTrait; |
|
| 6 | 5 | use Robo\Result; |
| 7 | 6 | use Symfony\Component\Process\Process; |
| 8 | 7 | |
@@ -245,7 +245,6 @@ |
||
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | /** |
| 248 | - * @param string $command |
|
| 249 | 248 | * @param callable $output_callback |
| 250 | 249 | * |
| 251 | 250 | * @return \Robo\ResultData |
@@ -1,9 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Robo\Task\Base; |
| 3 | 3 | |
| 4 | -use Robo\Common\ExecTrait; |
|
| 5 | 4 | use Robo\Contract\CommandInterface; |
| 6 | -use Robo\Contract\PrintedInterface; |
|
| 7 | 5 | use Robo\Contract\SimulatedInterface; |
| 8 | 6 | use Robo\Task\BaseTask; |
| 9 | 7 | use Symfony\Component\Process\Process; |