@@ -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 | |
@@ -74,16 +74,16 @@ |
||
| 74 | 74 | if ($this->project === null) { |
| 75 | 75 | if ($projectFilename === null) { |
| 76 | 76 | $projectFilename = PlatformUtil::workingDirectory() |
| 77 | - . PlatformUtil::directorySeparator() |
|
| 78 | - . 'componentmgr.json'; |
|
| 77 | + . PlatformUtil::directorySeparator() |
|
| 78 | + . 'componentmgr.json'; |
|
| 79 | 79 | } else { |
| 80 | 80 | $projectFilename = PlatformUtil::expandPath($projectFilename); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | if ($projectLockFilename === null) { |
| 84 | 84 | $projectLockFilename = PlatformUtil::workingDirectory() |
| 85 | - . PlatformUtil::directorySeparator() |
|
| 86 | - . 'componentmgr.lock.json'; |
|
| 85 | + . PlatformUtil::directorySeparator() |
|
| 86 | + . 'componentmgr.lock.json'; |
|
| 87 | 87 | } else { |
| 88 | 88 | $projectLockFilename = PlatformUtil::expandPath( |
| 89 | 89 | $projectLockFilename); |
@@ -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 | /** |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | ]); |
| 115 | 115 | |
| 116 | 116 | $container->register('logger.console.formatter', |
| 117 | - 'Bramus\Monolog\Formatter\ColoredLineFormatter'); |
|
| 117 | + 'Bramus\Monolog\Formatter\ColoredLineFormatter'); |
|
| 118 | 118 | |
| 119 | 119 | $container->addCompilerPass(new LoggerChannelPass()); |
| 120 | 120 | |
@@ -129,6 +129,6 @@ discard block |
||
| 129 | 129 | * Register the console application entry point. |
| 130 | 130 | */ |
| 131 | 131 | $application = new Definition('\ComponentManager\ComponentManager', |
| 132 | - [$commandReferences]); |
|
| 132 | + [$commandReferences]); |
|
| 133 | 133 | $application->addMethodCall('setContainer', [new Reference('service_container')]); |
| 134 | 134 | $container->setDefinition('application', $application); |
@@ -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 | |