@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | public function __construct() |
45 | 45 | { |
46 | - $this->sourceDir = sys_get_temp_dir() . '/readmetester-behat-' . rand() . '/'; |
|
46 | + $this->sourceDir = sys_get_temp_dir().'/readmetester-behat-'.rand().'/'; |
|
47 | 47 | mkdir($this->sourceDir); |
48 | 48 | } |
49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function aMarkdownFile(PyStringNode $string) |
59 | 59 | { |
60 | - file_put_contents($this->sourceDir . rand() . '.md', (string)$string); |
|
60 | + file_put_contents($this->sourceDir.rand().'.md', (string)$string); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function aSourceFile($filename, PyStringNode $string) |
67 | 67 | { |
68 | - file_put_contents($this->sourceDir . $filename, (string)$string); |
|
68 | + file_put_contents($this->sourceDir.$filename, (string)$string); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | public function iRunReadmeTester() |
85 | 85 | { |
86 | - $command = realpath('bin/readme-tester') . " test {$this->sourceDir} --format=json " . implode(' ', $this->args); |
|
86 | + $command = realpath('bin/readme-tester')." test {$this->sourceDir} --format=json ".implode(' ', $this->args); |
|
87 | 87 | |
88 | 88 | $cwd = getcwd(); |
89 | 89 | chdir($this->sourceDir); |