Passed
Push — master ( 619655...cd9add )
by Caen
03:39 queued 14s
created
packages/framework/src/Console/Commands/ServeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,13 +66,13 @@  discard block
 block discarded – undo
66 66
     protected function getEnvironmentVariables(): array
67 67
     {
68 68
         return [
69
-            'HYDE_RC_REQUEST_OUTPUT' => ! $this->option('no-ansi'),
69
+            'HYDE_RC_REQUEST_OUTPUT' => !$this->option('no-ansi'),
70 70
         ];
71 71
     }
72 72
 
73 73
     protected function configureOutput(): void
74 74
     {
75
-        if (! $this->useBasicOutput()) {
75
+        if (!$this->useBasicOutput()) {
76 76
             $this->console = new ConsoleOutput($this->output->isVerbose());
77 77
         }
78 78
     }
@@ -86,13 +86,13 @@  discard block
 block discarded – undo
86 86
 
87 87
     protected function getOutputHandler(): Closure
88 88
     {
89
-        return $this->useBasicOutput() ? function (string $type, string $line): void {
89
+        return $this->useBasicOutput() ? function(string $type, string $line): void {
90 90
             $this->output->write($line);
91 91
         } : $this->console->getFormatter();
92 92
     }
93 93
 
94 94
     protected function useBasicOutput(): bool
95 95
     {
96
-        return $this->option('no-ansi') || ! class_exists(ConsoleOutput::class);
96
+        return $this->option('no-ansi') || !class_exists(ConsoleOutput::class);
97 97
     }
98 98
 }
Please login to merge, or discard this patch.
packages/realtime-compiler/src/ConsoleOutput.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     public function getFormatter(): Closure
55 55
     {
56
-        return function (string $type, string $line): void {
56
+        return function(string $type, string $line): void {
57 57
             $this->handleOutput($line);
58 58
         };
59 59
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     protected function handleOutput(string $buffer): void
68 68
     {
69
-        str($buffer)->trim()->explode("\n")->each(function (string $line): void {
69
+        str($buffer)->trim()->explode("\n")->each(function(string $line): void {
70 70
             $this->renderLine($this->formatLineForOutput($line));
71 71
         });
72 72
     }
Please login to merge, or discard this patch.