@@ -102,20 +102,20 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | unlink($this->sourcesRepository); |
| 104 | 104 | mkdir($this->sourcesRepository); |
| 105 | - mkdir($this->sourcesRepository . '/src'); |
|
| 105 | + mkdir($this->sourcesRepository.'/src'); |
|
| 106 | 106 | |
| 107 | 107 | self::assertDirectoryExists($this->sourcesRepository); |
| 108 | - self::assertDirectoryExists($this->sourcesRepository . '/src'); |
|
| 108 | + self::assertDirectoryExists($this->sourcesRepository.'/src'); |
|
| 109 | 109 | |
| 110 | 110 | (new Process('git init', $this->sourcesRepository))->mustRun(); |
| 111 | 111 | |
| 112 | - file_put_contents($this->sourcesRepository . '/composer.json', self::COMPOSER_MANIFEST); |
|
| 112 | + file_put_contents($this->sourcesRepository.'/composer.json', self::COMPOSER_MANIFEST); |
|
| 113 | 113 | |
| 114 | 114 | (new Process('git add -A', $this->sourcesRepository))->mustRun(); |
| 115 | 115 | (new Process('git commit -am "Initial commit with composer manifest"', $this->sourcesRepository))->mustRun(); |
| 116 | 116 | |
| 117 | 117 | foreach ([self::CLASS_V1, self::CLASS_V2, self::CLASS_V3, self::CLASS_V4] as $key => $classCode) { |
| 118 | - file_put_contents($this->sourcesRepository . '/src/TheClass.php', $classCode); |
|
| 118 | + file_put_contents($this->sourcesRepository.'/src/TheClass.php', $classCode); |
|
| 119 | 119 | |
| 120 | 120 | (new Process('git add -A', $this->sourcesRepository))->mustRun(); |
| 121 | 121 | (new Process(sprintf('git commit -am "Class sources v%d"', $key + 1), $this->sourcesRepository))->mustRun(); |
@@ -140,9 +140,9 @@ discard block |
||
| 140 | 140 | { |
| 141 | 141 | $check = new Process( |
| 142 | 142 | [ |
| 143 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 144 | - '--from=' . $this->versions[0], |
|
| 145 | - '--to=' . $this->versions[1], |
|
| 143 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 144 | + '--from='.$this->versions[0], |
|
| 145 | + '--to='.$this->versions[1], |
|
| 146 | 146 | ], |
| 147 | 147 | $this->sourcesRepository |
| 148 | 148 | ); |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | public function testWillNotRunWithoutTagsNorSpecifiedVersions() : void |
| 163 | 163 | { |
| 164 | 164 | $check = new Process( |
| 165 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 165 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 166 | 166 | $this->sourcesRepository |
| 167 | 167 | ); |
| 168 | 168 | |
@@ -177,9 +177,9 @@ discard block |
||
| 177 | 177 | { |
| 178 | 178 | $check = new Process( |
| 179 | 179 | [ |
| 180 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 181 | - '--from=' . $this->versions[0], |
|
| 182 | - '--to=' . $this->versions[3], |
|
| 180 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 181 | + '--from='.$this->versions[0], |
|
| 182 | + '--to='.$this->versions[3], |
|
| 183 | 183 | ], |
| 184 | 184 | $this->sourcesRepository |
| 185 | 185 | ); |
@@ -214,8 +214,8 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | $check = new Process( |
| 216 | 216 | [ |
| 217 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 218 | - '--to=' . $this->versions[2], |
|
| 217 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 218 | + '--to='.$this->versions[2], |
|
| 219 | 219 | ], |
| 220 | 220 | $this->sourcesRepository |
| 221 | 221 | ); |
@@ -277,8 +277,8 @@ discard block |
||
| 277 | 277 | |
| 278 | 278 | $check = new Process( |
| 279 | 279 | [ |
| 280 | - __DIR__ . '/../../../bin/roave-backward-compatibility-check', |
|
| 281 | - '--to=' . $this->versions[2], |
|
| 280 | + __DIR__.'/../../../bin/roave-backward-compatibility-check', |
|
| 281 | + '--to='.$this->versions[2], |
|
| 282 | 282 | ], |
| 283 | 283 | $this->sourcesRepository |
| 284 | 284 | ); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | new ComparisonConstraint(ComparisonConstraint::OPERATOR_LTE, $lastVersion), |
| 41 | 41 | new ComparisonConstraint( |
| 42 | 42 | ComparisonConstraint::OPERATOR_GTE, |
| 43 | - Version::fromString($lastVersion->getMajor() . '.' . $lastVersion->getMinor() . '.0') |
|
| 43 | + Version::fromString($lastVersion->getMajor().'.'.$lastVersion->getMinor().'.0') |
|
| 44 | 44 | ) |
| 45 | 45 | )); |
| 46 | 46 | |