@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Robo\Config; |
| 3 | 3 | |
| 4 | 4 | use Consolidation\Config\Util\ConfigOverlay; |
| 5 | -use Consolidation\Config\ConfigInterface; |
|
| 6 | 5 | |
| 7 | 6 | class Config extends ConfigOverlay implements GlobalOptionDefaultValuesInterface |
| 8 | 7 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | $task->monitor( |
| 40 | 40 | 'src', |
| 41 | - function () { |
|
| 41 | + function() { |
|
| 42 | 42 | //do nothing |
| 43 | 43 | }, |
| 44 | 44 | 1 // CREATE |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | $task->monitor( |
| 55 | 55 | 'src', |
| 56 | - function () { |
|
| 56 | + function() { |
|
| 57 | 57 | //do nothing |
| 58 | 58 | }, |
| 59 | 59 | [ |
@@ -5,9 +5,9 @@ |
||
| 5 | 5 | $kernel->init([ |
| 6 | 6 | 'debug' => true, |
| 7 | 7 | 'includePaths' => [ |
| 8 | - __DIR__.'/../src', |
|
| 9 | - __DIR__.'/../vendor/symfony/process', |
|
| 10 | - __DIR__.'/../vendor/symfony/console', |
|
| 11 | - __DIR__.'/../vendor/henrikbjorn/lurker/src', |
|
| 8 | + __DIR__ . '/../src', |
|
| 9 | + __DIR__ . '/../vendor/symfony/process', |
|
| 10 | + __DIR__ . '/../vendor/symfony/console', |
|
| 11 | + __DIR__ . '/../vendor/henrikbjorn/lurker/src', |
|
| 12 | 12 | ] |
| 13 | 13 | ]); |
@@ -36,20 +36,20 @@ |
||
| 36 | 36 | // variables are present. |
| 37 | 37 | $task = $I->taskExec('env | wc -l')->interactive(false); |
| 38 | 38 | $result = $task->run(); |
| 39 | - $start_count = (int) $result->getMessage(); |
|
| 39 | + $start_count = (int)$result->getMessage(); |
|
| 40 | 40 | verify($start_count)->greaterThan(0); |
| 41 | 41 | |
| 42 | 42 | // Verify that we get the same amount of environment variables with |
| 43 | 43 | // another exec call. |
| 44 | 44 | $task = $I->taskExec('env | wc -l')->interactive(false); |
| 45 | 45 | $result = $task->run(); |
| 46 | - verify((int) $result->getMessage())->equals($start_count); |
|
| 46 | + verify((int)$result->getMessage())->equals($start_count); |
|
| 47 | 47 | |
| 48 | 48 | // Now run the same command, but this time add another environment |
| 49 | 49 | // variable, and see if our count increases by one. |
| 50 | 50 | $task = $I->taskExec('env | wc -l')->interactive(false); |
| 51 | 51 | $task->env('FOO', 'BAR'); |
| 52 | 52 | $result = $task->run(); |
| 53 | - verify((int) $result->getMessage())->equals($start_count + 1); |
|
| 53 | + verify((int)$result->getMessage())->equals($start_count + 1); |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | public function testSemverParseFileWithWindowsLineEndings() |
| 52 | 52 | { |
| 53 | 53 | $fixturePath = tempnam(sys_get_temp_dir(), 'semver'); |
| 54 | - $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir().'.semver')); |
|
| 54 | + $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir() . '.semver')); |
|
| 55 | 55 | file_put_contents($fixturePath, $semverFile); |
| 56 | 56 | |
| 57 | 57 | $res = (new \Robo\Task\Development\SemVer($fixturePath)) |