@@ -21,18 +21,18 @@ discard block |
||
| 21 | 21 | private readonly AppEnvironment $appEnv, |
| 22 | 22 | InputInterface $input, |
| 23 | 23 | OutputInterface $output, |
| 24 | - ) { |
|
| 24 | + ){ |
|
| 25 | 25 | $this->input = $input; |
| 26 | 26 | $this->output = $output instanceof SymfonyStyle ? $output : new SymfonyStyle($input, $output); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function confirmToProceed(string $message = 'Application in production.'): bool |
| 30 | 30 | { |
| 31 | - if (!$this->appEnv->isProduction()) { |
|
| 31 | + if (!$this->appEnv->isProduction()){ |
|
| 32 | 32 | return true; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - if ($this->hasOption('force') && $this->option('force')) { |
|
| 35 | + if ($this->hasOption('force') && $this->option('force')){ |
|
| 36 | 36 | return true; |
| 37 | 37 | } |
| 38 | 38 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | $confirmed = $this->confirm('Do you really wish to run command?'); |
| 42 | 42 | |
| 43 | - if (!$confirmed) { |
|
| 43 | + if (!$confirmed){ |
|
| 44 | 44 | $this->comment('Command Canceled!'); |
| 45 | 45 | |
| 46 | 46 | return false; |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | -o, --id[=ID] Id option description. (multiple values allowed) |
| 151 | 151 | -Q, --quit Quit option description. |
| 152 | 152 | --naf[=NAF] Naf option description. [default: "default"] |
| 153 | -HELP |
|
| 153 | +help |
|
| 154 | 154 | , |
| 155 | 155 | $core->run(command: 'help', input: ['command_name' => 'foo:bar'])->getOutput()->fetch() |
| 156 | 156 | ); |