@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | protected function handleClearOption() |
30 | 30 | { |
31 | - if (! $this->option('clear')) { |
|
31 | + if (!$this->option('clear')) { |
|
32 | 32 | return; |
33 | 33 | } |
34 | 34 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | Process::fromShellCommandline($this->getTailCommand(), $logDirectory) |
43 | 43 | ->setTty(true) |
44 | 44 | ->setTimeout(null) |
45 | - ->run(function ($type, $line) { |
|
45 | + ->run(function($type, $line) { |
|
46 | 46 | $this->handleClearOption(); |
47 | 47 | |
48 | 48 | $this->output->write($line); |
@@ -54,10 +54,10 @@ discard block |
||
54 | 54 | $environmentConfig = $this->getEnvironmentConfiguration($environment); |
55 | 55 | |
56 | 56 | Ssh::create($environmentConfig['user'], $environmentConfig['host']) |
57 | - ->configureProcess(function (Process $process) { |
|
57 | + ->configureProcess(function(Process $process) { |
|
58 | 58 | $process->setTty(true); |
59 | 59 | }) |
60 | - ->onOutput(function ($type, $line) { |
|
60 | + ->onOutput(function($type, $line) { |
|
61 | 61 | $this->handleClearOption(); |
62 | 62 | |
63 | 63 | $this->output->write($line); |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | $config = config('tail'); |
74 | 74 | |
75 | - if (! isset($config[$environment])) { |
|
75 | + if (!isset($config[$environment])) { |
|
76 | 76 | throw new Exception("No configuration set for environment `{$environment}`. Make sure this environment is specified in the `tail` config file!"); |
77 | 77 | } |
78 | 78 |