@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | protected function tearDown() |
21 | 21 | { |
22 | 22 | $fileSystem = new FileSystem(); |
23 | - $fileSystem->remove($this->getPathFixtures() . '/Success/Compile/Build'); |
|
23 | + $fileSystem->remove($this->getPathFixtures().'/Success/Compile/Build'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
@@ -32,17 +32,17 @@ discard block |
||
32 | 32 | $this->assertEquals(0, $this->commandTester->getStatusCode()); |
33 | 33 | $this->assertContains('Compiling "apib" files to mock', $this->commandTester->getDisplay()); |
34 | 34 | $this->assertContains('Creating documentation from mock files compiled', $this->commandTester->getDisplay()); |
35 | - $this->assertFileExists($this->getPathFixtures() . '/Success/Compile/Build/out.apib'); |
|
36 | - $this->assertFileExists($this->getPathFixtures() . '/Success/Compile/Build/out.html'); |
|
35 | + $this->assertFileExists($this->getPathFixtures().'/Success/Compile/Build/out.apib'); |
|
36 | + $this->assertFileExists($this->getPathFixtures().'/Success/Compile/Build/out.html'); |
|
37 | 37 | |
38 | 38 | $this->assertContains( |
39 | 39 | $this->getStringJSONFileIncluded(), |
40 | - file_get_contents($this->getPathFixtures() . '/Success/Compile/Build/out.apib') |
|
40 | + file_get_contents($this->getPathFixtures().'/Success/Compile/Build/out.apib') |
|
41 | 41 | ); |
42 | 42 | |
43 | 43 | $this->assertContains( |
44 | 44 | $this->getStringXMLFileIncluded(), |
45 | - file_get_contents($this->getPathFixtures() . '/Success/Compile/Build/out.apib') |
|
45 | + file_get_contents($this->getPathFixtures().'/Success/Compile/Build/out.apib') |
|
46 | 46 | ); |
47 | 47 | } |
48 | 48 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $this->assertEquals(1, $this->commandTester->getStatusCode()); |
56 | 56 | $this->assertContains('Compiling "apib" files to mock', $this->commandTester->getDisplay()); |
57 | 57 | $this->assertContains('Creating documentation from mock files compiled', $this->commandTester->getDisplay()); |
58 | - $this->assertDirectoryNotExists($this->getPathErrorFixtures() . 'Build'); |
|
58 | + $this->assertDirectoryNotExists($this->getPathErrorFixtures().'Build'); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | protected function getPathFixtures() |
85 | 85 | { |
86 | - return dirname(__DIR__) . '/Fixtures'; |
|
86 | + return dirname(__DIR__).'/Fixtures'; |
|
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | protected function getPathSuccessFixtures() |
93 | 93 | { |
94 | - return $this->getPathFixtures() . '/Success'; |
|
94 | + return $this->getPathFixtures().'/Success'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | protected function getPathErrorFixtures() |
101 | 101 | { |
102 | - return $this->getPathFixtures() . '/Error'; |
|
102 | + return $this->getPathFixtures().'/Error'; |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | 'path', |
61 | 61 | InputArgument::OPTIONAL, |
62 | 62 | 'Base folder to start to search files index.apib', |
63 | - dirname(__DIR__, 2) . DIRECTORY_SEPARATOR .'md' |
|
63 | + dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'md' |
|
64 | 64 | ); |
65 | 65 | } |
66 | 66 | /** |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $workingDirectory = dirname($fileName); |
156 | 156 | |
157 | 157 | if ('Build' != basename($workingDirectory)) { |
158 | - $pathBuild = $workingDirectory . DIRECTORY_SEPARATOR . 'Build'; |
|
158 | + $pathBuild = $workingDirectory.DIRECTORY_SEPARATOR.'Build'; |
|
159 | 159 | $fileSystem = new Filesystem(); |
160 | 160 | try { |
161 | 161 | $fileSystem->mkdir($pathBuild); |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | $workingDirectory = dirname($fileName); |
198 | 198 | |
199 | 199 | if ('Build' != basename($workingDirectory)) { |
200 | - $pathBuild = $workingDirectory . DIRECTORY_SEPARATOR . 'Build'; |
|
200 | + $pathBuild = $workingDirectory.DIRECTORY_SEPARATOR.'Build'; |
|
201 | 201 | $fileSystem = new Filesystem(); |
202 | 202 | try { |
203 | 203 | $fileSystem->mkdir($pathBuild); |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | $files = $finder |
258 | 258 | ->files() |
259 | 259 | ->ignoreDotFiles(true) |
260 | - ->filter(function (SplFileInfo $file) use ($filter) { |
|
260 | + ->filter(function(SplFileInfo $file) use ($filter) { |
|
261 | 261 | if ($file->getFilename() != $filter) { |
262 | 262 | return false; |
263 | 263 | } |