Passed
Push — master ( 85c0fe...1fafeb )
by Caen
03:50 queued 14s
created
packages/framework/src/Console/Commands/ServeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
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
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.