@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function mktmpdir($basedir = false) |
48 | 48 | { |
49 | - $tempfile = tempnam($basedir ?: $this->testDir ?: sys_get_temp_dir(),'robo-tests'); |
|
49 | + $tempfile = tempnam($basedir ?: $this->testDir ?: sys_get_temp_dir(), 'robo-tests'); |
|
50 | 50 | unlink($tempfile); |
51 | 51 | mkdir($tempfile); |
52 | 52 | $this->tmpDirs[] = $tempfile; |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $this->fixtures->createAndCdToSandbox(); |
45 | 45 | |
46 | 46 | $result = $this->taskFlattenDir('some/deeply/nested/*.re') |
47 | - ->includeParents([1,1]) |
|
47 | + ->includeParents([1, 1]) |
|
48 | 48 | ->parentDir('some') |
49 | 49 | ->to('flattened') |
50 | 50 | ->run(); |
@@ -68,7 +68,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |