Completed
Push — master ( 8d0ff5...88dfaf )
by Greg
02:36
created
tests/cli/ExecCest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,20 +36,20 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.