@@ -105,20 +105,20 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | unlink($this->sourcesRepository); |
| 107 | 107 | mkdir($this->sourcesRepository); |
| 108 | - mkdir($this->sourcesRepository . '/src'); |
|
| 108 | + mkdir($this->sourcesRepository.'/src'); |
|
| 109 | 109 | |
| 110 | 110 | self::assertDirectoryExists($this->sourcesRepository); |
| 111 | - self::assertDirectoryExists($this->sourcesRepository . '/src'); |
|
| 111 | + self::assertDirectoryExists($this->sourcesRepository.'/src'); |
|
| 112 | 112 | |
| 113 | 113 | (new Process('git init', $this->sourcesRepository))->mustRun(); |
| 114 | 114 | |
| 115 | - file_put_contents($this->sourcesRepository . '/composer.json', self::COMPOSER_MANIFEST); |
|
| 115 | + file_put_contents($this->sourcesRepository.'/composer.json', self::COMPOSER_MANIFEST); |
|
| 116 | 116 | |
| 117 | 117 | (new Process('git add -A', $this->sourcesRepository))->mustRun(); |
| 118 | 118 | (new Process('git commit -am "Initial commit with composer manifest"', $this->sourcesRepository))->mustRun(); |
| 119 | 119 | |
| 120 | 120 | foreach (self::CLASS_VERSIONS as $key => $classCode) { |
| 121 | - file_put_contents($this->sourcesRepository . '/src/TheClass.php', $classCode); |
|
| 121 | + file_put_contents($this->sourcesRepository.'/src/TheClass.php', $classCode); |
|
| 122 | 122 | |
| 123 | 123 | (new Process('git add -A', $this->sourcesRepository))->mustRun(); |
| 124 | 124 | (new Process(sprintf('git commit -am "Class sources v%d"', $key + 1), $this->sourcesRepository))->mustRun(); |
@@ -143,9 +143,9 @@ discard block |
||
| 143 | 143 | { |
| 144 | 144 | $check = new Process( |
| 145 | 145 | [ |
| 146 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 147 | - '--from=' . $this->versions[0], |
|
| 148 | - '--to=' . $this->versions[1], |
|
| 146 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 147 | + '--from='.$this->versions[0], |
|
| 148 | + '--to='.$this->versions[1], |
|
| 149 | 149 | ], |
| 150 | 150 | $this->sourcesRepository |
| 151 | 151 | ); |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | public function testWillNotRunWithoutTagsNorSpecifiedVersions() : void |
| 166 | 166 | { |
| 167 | 167 | $check = new Process( |
| 168 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 168 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 169 | 169 | $this->sourcesRepository |
| 170 | 170 | ); |
| 171 | 171 | |
@@ -180,9 +180,9 @@ discard block |
||
| 180 | 180 | { |
| 181 | 181 | $check = new Process( |
| 182 | 182 | [ |
| 183 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 184 | - '--from=' . $this->versions[0], |
|
| 185 | - '--to=' . $this->versions[3], |
|
| 183 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 184 | + '--from='.$this->versions[0], |
|
| 185 | + '--to='.$this->versions[3], |
|
| 186 | 186 | ], |
| 187 | 187 | $this->sourcesRepository |
| 188 | 188 | ); |
@@ -200,8 +200,8 @@ discard block |
||
| 200 | 200 | |
| 201 | 201 | $check = new Process( |
| 202 | 202 | [ |
| 203 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 204 | - '--to=' . $this->versions[2], |
|
| 203 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 204 | + '--to='.$this->versions[2], |
|
| 205 | 205 | ], |
| 206 | 206 | $this->sourcesRepository |
| 207 | 207 | ); |
@@ -229,8 +229,8 @@ discard block |
||
| 229 | 229 | |
| 230 | 230 | $check = new Process( |
| 231 | 231 | [ |
| 232 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 233 | - '--to=' . $this->versions[2], |
|
| 232 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 233 | + '--to='.$this->versions[2], |
|
| 234 | 234 | ], |
| 235 | 235 | $this->sourcesRepository |
| 236 | 236 | ); |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | 'tag', |
| 269 | 269 | $tagName, |
| 270 | 270 | '-m', |
| 271 | - 'A tag for version ' . $version, |
|
| 271 | + 'A tag for version '.$version, |
|
| 272 | 272 | ], |
| 273 | 273 | $this->sourcesRepository |
| 274 | 274 | ))->mustRun(); |