@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | parent::initialize($input, $output); |
42 | 42 | |
43 | 43 | $this->helper = $this->getHelperSet() |
44 | - ->get('question'); |
|
44 | + ->get('question'); |
|
45 | 45 | |
46 | 46 | $this->symfonyStyle = $this->getStyle($input, $output); |
47 | 47 | } |
@@ -49,9 +49,9 @@ discard block |
||
49 | 49 | protected function configure() |
50 | 50 | { |
51 | 51 | $this->setName('mes:crypto:generate-key') |
52 | - ->setDefinition($this->createDefinition()) |
|
53 | - ->setDescription('Generates an encoded key with or without authentication secret') |
|
54 | - ->setHelp(<<<'EOF' |
|
52 | + ->setDefinition($this->createDefinition()) |
|
53 | + ->setDescription('Generates an encoded key with or without authentication secret') |
|
54 | + ->setHelp(<<<'EOF' |
|
55 | 55 | The <info>%command.name%</info> generates an encoded key with or without authentication secret and optionally it saves the printable key and the secret in a ini format .crypto file. |
56 | 56 | |
57 | 57 | <info>%command.full_name%</info> |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | <info>%command.full_name%</info> --dir /path/to/dir/key.crypto |
62 | 62 | EOF |
63 | - ); |
|
63 | + ); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | protected function interact(InputInterface $input, OutputInterface $output) |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | $this->writeSection($output, 'Generating key'.($secret ? ' with authentication secret' : '').($dir ? " in $dir" : '')); |
134 | 134 | |
135 | 135 | $encodedKey = $keyGenerator->generate($secret) |
136 | - ->getEncoded(); |
|
136 | + ->getEncoded(); |
|
137 | 137 | |
138 | 138 | $this->log($logger, "The encoded key has been generated with the following sequence:\n{$encodedKey}\n", LogLevel::INFO); |
139 | 139 | |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | * @var DebugFormatterHelper |
198 | 198 | */ |
199 | 199 | $dh = $this->getHelperSet() |
200 | - ->get('debug_formatter'); |
|
200 | + ->get('debug_formatter'); |
|
201 | 201 | |
202 | 202 | $process = new Process("ls -la {$options['dir']} | grep \".crypto\""); |
203 | 203 |