@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * @param \ComponentManager\Project\ProjectLockFile $projectLockFile |
| 72 | 72 | * @param \ComponentManager\PackageRepository\PackageRepositoryFactory $packageRepositoryFactory |
| 73 | 73 | * @param \ComponentManager\PackageSource\PackageSourceFactory $packageSourceFactory |
| 74 | - * @param \ComponentManager\PackageSource\PackageFormatFactory $packageFormatFactory |
|
| 74 | + * @param PackageFormatFactory $packageFormatFactory |
|
| 75 | 75 | */ |
| 76 | 76 | public function __construct(ProjectFile $projectFile, |
| 77 | 77 | ProjectLockFile $projectLockFile, |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @return string The path to the module's root directory. |
| 57 | 57 | */ |
| 58 | 58 | public function obtainPackage($tempDirectory, |
| 59 | - ResolvedComponentVersion $resolvedComponentVersion, |
|
| 60 | - Filesystem $filesystem, |
|
| 61 | - LoggerInterface $logger); |
|
| 59 | + ResolvedComponentVersion $resolvedComponentVersion, |
|
| 60 | + Filesystem $filesystem, |
|
| 61 | + LoggerInterface $logger); |
|
| 62 | 62 | } |
@@ -44,9 +44,9 @@ |
||
| 44 | 44 | * @override \ComponentManager\PackageSource\PackageSource |
| 45 | 45 | */ |
| 46 | 46 | public function obtainPackage($tempDirectory, |
| 47 | - ResolvedComponentVersion $resolvedComponentVersion, |
|
| 48 | - Filesystem $filesystem, |
|
| 49 | - LoggerInterface $logger) { |
|
| 47 | + ResolvedComponentVersion $resolvedComponentVersion, |
|
| 48 | + Filesystem $filesystem, |
|
| 49 | + LoggerInterface $logger) { |
|
| 50 | 50 | $componentVersion = $resolvedComponentVersion->getVersion(); |
| 51 | 51 | |
| 52 | 52 | $sources = $componentVersion->getSources(); |
@@ -39,9 +39,9 @@ |
||
| 39 | 39 | * @override \ComponentManager\PackageSource\PackageSource |
| 40 | 40 | */ |
| 41 | 41 | public function obtainPackage($tempDirectory, |
| 42 | - ResolvedComponentVersion $resolvedComponentVersion, |
|
| 43 | - Filesystem $filesystem, |
|
| 44 | - LoggerInterface $logger) { |
|
| 42 | + ResolvedComponentVersion $resolvedComponentVersion, |
|
| 43 | + Filesystem $filesystem, |
|
| 44 | + LoggerInterface $logger) { |
|
| 45 | 45 | $version = $resolvedComponentVersion->getVersion(); |
| 46 | 46 | $sources = $version->getSources(); |
| 47 | 47 | |
@@ -45,8 +45,8 @@ |
||
| 45 | 45 | ->setHelp(static::HELP) |
| 46 | 46 | ->setDefinition(new InputDefinition([ |
| 47 | 47 | new InputArgument(Argument::ARGUMENT_ACTION, |
| 48 | - InputArgument::REQUIRED, |
|
| 49 | - Argument::ARGUMENT_ACTION_HELP), |
|
| 48 | + InputArgument::REQUIRED, |
|
| 49 | + Argument::ARGUMENT_ACTION_HELP), |
|
| 50 | 50 | new InputOption(Argument::ARGUMENT_MOODLE_DIR, null, |
| 51 | 51 | InputOption::VALUE_REQUIRED, |
| 52 | 52 | Argument::ARGUMENT_MOODLE_DIR_HELP), |
@@ -44,8 +44,8 @@ |
||
| 44 | 44 | ->setHelp(static::HELP) |
| 45 | 45 | ->setDefinition(new InputDefinition([ |
| 46 | 46 | new InputArgument(Argument::ARGUMENT_SCRIPT, |
| 47 | - InputArgument::REQUIRED, |
|
| 48 | - Argument::ARGUMENT_SCRIPT_HELP), |
|
| 47 | + InputArgument::REQUIRED, |
|
| 48 | + Argument::ARGUMENT_SCRIPT_HELP), |
|
| 49 | 49 | ])); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function __toString() { |
| 34 | 34 | return sprintf(static::MESSAGE_FORMAT, $this->getExceptionType(), |
| 35 | - $this->getExceptionCodeName(), $this->code, |
|
| 36 | - $this->message); |
|
| 35 | + $this->getExceptionCodeName(), $this->code, |
|
| 36 | + $this->message); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -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 | /** |