Completed
Pull Request — master (#924)
by Greg
02:05
created
tests/functional/ExecTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         // variables are present.
65 65
         $task = $this->taskExec('env | wc -l')->interactive(false);
66 66
         $result = $task->run();
67
-        $start_count = (int) $result->getMessage();
67
+        $start_count = (int)$result->getMessage();
68 68
         $this->assertGreaterThan(0, $start_count);
69 69
 
70 70
         // Verify that we get the same amount of environment variables with
@@ -73,13 +73,13 @@  discard block
 block discarded – undo
73 73
         $result = $task->run();
74 74
         $this->assertEquals(
75 75
             $start_count,
76
-            (int) $result->getMessage());
76
+            (int)$result->getMessage());
77 77
 
78 78
         // Now run the same command, but this time add another environment
79 79
         // variable, and see if our count increases by one.
80 80
         $task = $this->taskExec('env | wc -l')->interactive(false);
81 81
         $task->env('FOO', 'BAR');
82 82
         $result = $task->run();
83
-        $this->assertEquals($start_count + 1, (int) $result->getMessage());
83
+        $this->assertEquals($start_count + 1, (int)$result->getMessage());
84 84
     }
85 85
 }
Please login to merge, or discard this patch.