Completed
Push — master ( a243b0...e4b7e2 )
by Greg
02:20
created
tests/cli/ExecCest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         // variables are present.
54 54
         $task = $I->taskExec('env | wc -l')->interactive(false);
55 55
         $result = $task->run();
56
-        $start_count = (int) $result->getMessage();
56
+        $start_count = (int)$result->getMessage();
57 57
         $I->assertGreaterThan(0, $start_count);
58 58
 
59 59
         // Verify that we get the same amount of environment variables with
@@ -62,13 +62,13 @@  discard block
 block discarded – undo
62 62
         $result = $task->run();
63 63
         $I->assertEquals(
64 64
             $start_count,
65
-            (int) $result->getMessage());
65
+            (int)$result->getMessage());
66 66
 
67 67
         // Now run the same command, but this time add another environment
68 68
         // variable, and see if our count increases by one.
69 69
         $task = $I->taskExec('env | wc -l')->interactive(false);
70 70
         $task->env('FOO', 'BAR');
71 71
         $result = $task->run();
72
-        $I->assertEquals($start_count + 1, (int) $result->getMessage());
72
+        $I->assertEquals($start_count + 1, (int)$result->getMessage());
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
tests/cli/GenTaskCest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     {
8 8
         $result = $I->taskGenTask('Symfony\Component\Filesystem\Filesystem', 'FilesystemStack')->run();
9 9
         $I->assertContains(
10
-          'protected function _chgrp($files, $group, $recursive = false)',
11
-          $result->getMessage());
10
+            'protected function _chgrp($files, $group, $recursive = false)',
11
+            $result->getMessage());
12 12
     }
13 13
 }
Please login to merge, or discard this patch.