@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | protected function getEnvironmentVariables(): array |
| 64 | 64 | { |
| 65 | 65 | return [ |
| 66 | - 'HYDE_RC_REQUEST_OUTPUT' => ! $this->option('no-ansi'), |
|
| 66 | + 'HYDE_RC_REQUEST_OUTPUT' => !$this->option('no-ansi'), |
|
| 67 | 67 | ]; |
| 68 | 68 | } |
| 69 | 69 | |
@@ -76,13 +76,13 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | protected function getOutputHandler(): Closure |
| 78 | 78 | { |
| 79 | - return $this->useBasicOutput() ? function (string $type, string $line): void { |
|
| 79 | + return $this->useBasicOutput() ? function(string $type, string $line): void { |
|
| 80 | 80 | $this->output->write($line); |
| 81 | 81 | } : ConsoleOutput::getFormatter($this->output->isVerbose()); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | protected function useBasicOutput(): bool |
| 85 | 85 | { |
| 86 | - return $this->option('no-ansi') || ! class_exists(ConsoleOutput::class); |
|
| 86 | + return $this->option('no-ansi') || !class_exists(ConsoleOutput::class); |
|
| 87 | 87 | } |
| 88 | 88 | } |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | { |
| 56 | 56 | $console = (new static($verbose)); |
| 57 | 57 | |
| 58 | - return function (string $type, string $line) use ($console): void { |
|
| 58 | + return function(string $type, string $line) use ($console): void { |
|
| 59 | 59 | $console->handleOutput($line); |
| 60 | 60 | }; |
| 61 | 61 | } |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | protected function handleOutput(string $buffer): void |
| 69 | 69 | { |
| 70 | - str($buffer)->trim()->explode("\n")->each(function (string $line): void { |
|
| 70 | + str($buffer)->trim()->explode("\n")->each(function(string $line): void { |
|
| 71 | 71 | $line = $this->formatLineForOutput($line); |
| 72 | 72 | |
| 73 | 73 | if ($line !== null) { |