@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | public function configure(): void |
| 59 | 59 | { |
| 60 | - $this->wrap($this->output ?? new ConsoleOutput(), function (): void { |
|
| 60 | + $this->wrap($this->output ?? new ConsoleOutput(), function(): void { |
|
| 61 | 61 | $this->configureCommand(); |
| 62 | 62 | }); |
| 63 | 63 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | ->parse($this->signature); |
| 74 | 74 | |
| 75 | 75 | $this->setName($this->name ?: $name); |
| 76 | - $this->setDescription($this->description ?: \get_class($this) . ' command'); |
|
| 76 | + $this->setDescription($this->description ?: \get_class($this).' command'); |
|
| 77 | 77 | |
| 78 | 78 | foreach ($arguments as $argument) { |
| 79 | 79 | $this->getDefinition()->addArgument($argument); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | $this->input = $input; |
| 97 | 97 | $this->output = $output; |
| 98 | 98 | |
| 99 | - $this->wrap($output, function (): void { |
|
| 99 | + $this->wrap($output, function(): void { |
|
| 100 | 100 | $this->handle(); |
| 101 | 101 | }); |
| 102 | 102 | } |
@@ -139,9 +139,9 @@ |
||
| 139 | 139 | { |
| 140 | 140 | $i = 1; |
| 141 | 141 | |
| 142 | - return \preg_replace_callback('/\n/', function () use ($line, $error, &$i) { |
|
| 142 | + return \preg_replace_callback('/\n/', function() use ($line, $error, &$i) { |
|
| 143 | 143 | $current = $line + $i++; |
| 144 | - return "\n" . ( |
|
| 144 | + return "\n".( |
|
| 145 | 145 | $this->isErrorLine($error, $current) |
| 146 | 146 | ? $this->errorLine($current) |
| 147 | 147 | : $this->codeLine($current) |