@@ -13,8 +13,8 @@ |
||
13 | 13 | use ComponentManager\ComponentSpecification; |
14 | 14 | use ComponentManager\ComponentVersion; |
15 | 15 | use ComponentManager\Platform\Platform; |
16 | -use stdClass; |
|
17 | 16 | use Symfony\Component\Filesystem\Filesystem; |
17 | +use stdClass; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Package repository interface. |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace ComponentManager\Platform; |
12 | 12 | |
13 | 13 | use ComponentManager\Exception\PlatformException; |
14 | -use Symfony\Component\DependencyInjection\Definition; |
|
15 | 14 | |
16 | 15 | class PlatformFactory { |
17 | 16 | /** |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | */ |
272 | 272 | protected function getMetadataCacheFilename() { |
273 | 273 | $urlHash = parse_url($this->options->uri, PHP_URL_HOST) . '-' |
274 | - . $this->options->project; |
|
274 | + . $this->options->project; |
|
275 | 275 | |
276 | 276 | return $this->platform->joinPaths([ |
277 | 277 | parent::getMetadataCacheDirectory(), |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | */ |
371 | 371 | protected function getProjectRepositoryListUrl() { |
372 | 372 | return sprintf(static::PROJECT_REPOSITORY_LIST_PATH, |
373 | - $this->options->project); |
|
373 | + $this->options->project); |
|
374 | 374 | } |
375 | 375 | |
376 | 376 | /** |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | */ |
383 | 383 | protected function getRepositoryBranchesPath($componentName) { |
384 | 384 | return sprintf(static::REPOSITORY_BRANCHES_PATH, $this->options->project, |
385 | - $componentName); |
|
385 | + $componentName); |
|
386 | 386 | } |
387 | 387 | |
388 | 388 | /** |
@@ -394,6 +394,6 @@ discard block |
||
394 | 394 | */ |
395 | 395 | protected function getRepositoryTagsPath($componentName) { |
396 | 396 | return sprintf(static::REPOSITORY_TAGS_PATH, $this->options->project, |
397 | - $componentName); |
|
397 | + $componentName); |
|
398 | 398 | } |
399 | 399 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | return new Component($componentSpecification->getName(), $versions, |
97 | - $this); |
|
97 | + $this); |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |