@@ -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. |
@@ -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 |
@@ -247,7 +247,7 @@ |
||
247 | 247 | $this->process = $process; |
248 | 248 | |
249 | 249 | if (!$output_callback) { |
250 | - $output_callback = function ($type, $buffer) { |
|
250 | + $output_callback = function($type, $buffer) { |
|
251 | 251 | $progressWasVisible = $this->hideTaskProgress(); |
252 | 252 | $this->writeMessage($buffer); |
253 | 253 | $this->showTaskProgress($progressWasVisible); |