@@ -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 | } |