@@ -1,9 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | use Robo\Robo; |
3 | 3 | |
4 | -use Robo\Config\ConfigProcessor; |
|
5 | -use Robo\Config\YamlConfigLoader; |
|
6 | - |
|
7 | 4 | /** |
8 | 5 | * This test must run first. :( |
9 | 6 | */ |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | use Robo\Robo; |
3 | - |
|
4 | 3 | use Robo\Config\ConfigProcessor; |
5 | 4 | use Robo\Config\YamlConfigLoader; |
6 | 5 |
@@ -1,9 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | use Robo\Robo; |
3 | 3 | |
4 | -use Robo\Config\ConfigProcessor; |
|
5 | -use Robo\Config\YamlConfigLoader; |
|
6 | - |
|
7 | 4 | class RunnerTest extends \Codeception\TestCase\Test |
8 | 5 | { |
9 | 6 | /** |
@@ -128,7 +128,6 @@ |
||
128 | 128 | /** |
129 | 129 | * Evaluate one configuration item. |
130 | 130 | * |
131 | - * @param array $processed |
|
132 | 131 | * @param array $config |
133 | 132 | * @return array |
134 | 133 | */ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | $this->config = []; |
21 | 21 | return $this; |
22 | 22 | } |
23 | - $this->config = (array) Yaml::parse(file_get_contents($path)); |
|
23 | + $this->config = (array)Yaml::parse(file_get_contents($path)); |
|
24 | 24 | return $this; |
25 | 25 | } |
26 | 26 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @param string|\Robo\Contract\CommandInterface $run |
|
129 | + * @param string $run |
|
130 | 130 | * |
131 | 131 | * @return $this |
132 | 132 | */ |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * inherited from ExecTrait. |
156 | 156 | * |
157 | 157 | * @param array $env |
158 | - * @return type |
|
158 | + * @return Run |
|
159 | 159 | */ |
160 | 160 | public function envVars(array $env) |
161 | 161 | { |