Skip to content

Commit 11d693c

Browse files
Update code style
1 parent a5ada46 commit 11d693c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Command/ConfigCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ protected function initialize(InputInterface $input, OutputInterface $output): v
129129
$uniqueKey = GitUtil::getUniqueKey();
130130

131131
if (null === $uniqueKey) {
132-
throw new \RuntimeException(sprintf('The working directory is not managed by GIT'));
132+
throw new \RuntimeException('The working directory is not managed by GIT');
133133
}
134134

135135
$configFile = sprintf('%s/%s.json', $this->config->get('data-dir'), $uniqueKey);
@@ -201,6 +201,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
201201
}
202202

203203
break;
204+
204205
case 'lib':
205206
case 'library':
206207
case 'libraries':
@@ -215,6 +216,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
215216
}
216217

217218
break;
219+
218220
case 'bin':
219221
case 'binary':
220222
case 'binaries':
@@ -229,6 +231,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
229231
}
230232

231233
break;
234+
232235
default:
233236
if (!\array_key_exists($settingKey, Config::$defaultConfig)) {
234237
throw new RuntimeException(sprintf('The "%s" setting key does not exist', $settingKey));

src/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private function getStub(): string
268268
$stub = <<<'EOF'
269269
#!/usr/bin/env php
270270
<?php
271-
271+
272272
/*
273273
* This file is part of the Klipper Releaser package.
274274
*

src/Console/Application.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function getReleaser(): Releaser
8282
$this->releaser = Factory::create($this->io, $this->configFile, $this->initialWorkingDirectory);
8383
} catch (\Throwable $e) {
8484
$this->io->writeError($e->getMessage());
85+
8586
exit(1);
8687
}
8788
}

0 commit comments

Comments
 (0)