@@ -62,12 +62,12 @@ |
||
62 | 62 | |
63 | 63 | $tempDirectory = PlatformUtil::createTempDirectory(); |
64 | 64 | $archive = $tempDirectory |
65 | - . PlatformUtil::directorySeparator() |
|
66 | - . 'moodle.zip'; |
|
65 | + . PlatformUtil::directorySeparator() |
|
66 | + . 'moodle.zip'; |
|
67 | 67 | $destination = $tempDirectory |
68 | - . PlatformUtil::directorySeparator() . 'moodle'; |
|
68 | + . PlatformUtil::directorySeparator() . 'moodle'; |
|
69 | 69 | $projectLockFilename = $destination . PlatformUtil::directorySeparator() |
70 | - . 'componentmgr.lock.json'; |
|
70 | + . 'componentmgr.lock.json'; |
|
71 | 71 | |
72 | 72 | /** @var \Symfony\Component\Filesystem\Filesystem $filesystem */ |
73 | 73 | $filesystem = $this->container->get('filesystem'); |
@@ -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); |