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