@@ -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. |
@@ -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 Robo\ResultData; |
| 8 | 7 | use Symfony\Component\Process\Process; |
@@ -245,7 +245,7 @@ |
||
| 245 | 245 | $this->process = $process; |
| 246 | 246 | |
| 247 | 247 | if (!$output_callback) { |
| 248 | - $output_callback = function ($type, $buffer) { |
|
| 248 | + $output_callback = function($type, $buffer) { |
|
| 249 | 249 | print($buffer); |
| 250 | 250 | }; |
| 251 | 251 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | protected $command; |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @param string|\Robo\Contract\CommandInterface $command |
|
| 46 | + * @param string $command |
|
| 47 | 47 | */ |
| 48 | 48 | public function __construct($command) |
| 49 | 49 | { |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Robo\Task\Base; |
| 3 | 3 | |
| 4 | -use Robo\Common\ExecTrait; |
|
| 5 | 4 | use Robo\Contract\CommandInterface; |
| 6 | 5 | use Robo\Contract\PrintedInterface; |
| 7 | 6 | use Robo\Contract\SimulatedInterface; |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Robo\Exception\TaskException; |
| 6 | 6 | use Robo\Task\BaseTask; |
| 7 | 7 | use Robo\Contract\CommandInterface; |
| 8 | -use Symfony\Component\Process\Process; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Executes Codeception tests |