@@ -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,8 +54,8 @@ discard block |
||
54 | 54 | $environmentConfig = $this->getEnvironmentConfiguration($environment); |
55 | 55 | |
56 | 56 | Ssh::create($environmentConfig['user'], $environmentConfig['host']) |
57 | - ->configureProcess(fn (Process $process) => $process->setTty(true)) |
|
58 | - ->onOutput(function ($type, $line) { |
|
57 | + ->configureProcess(fn(Process $process) => $process->setTty(true)) |
|
58 | + ->onOutput(function($type, $line) { |
|
59 | 59 | $this->handleClearOption(); |
60 | 60 | |
61 | 61 | $this->output->write($line); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | { |
71 | 71 | $config = config('tail'); |
72 | 72 | |
73 | - if (! isset($config[$environment])) { |
|
73 | + if (!isset($config[$environment])) { |
|
74 | 74 | throw new Exception("No configuration set for environment `{$environment}`. Make sure this environment is specified in the `tail` config file!"); |
75 | 75 | } |
76 | 76 |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | if ($this->app->runningInConsole()) { |
12 | 12 | $this->publishes([ |
13 | - __DIR__ . '/../config/tail.php' => config_path('tail.php'), |
|
13 | + __DIR__.'/../config/tail.php' => config_path('tail.php'), |
|
14 | 14 | ], 'tail-config'); |
15 | 15 | |
16 | 16 | |
@@ -22,6 +22,6 @@ discard block |
||
22 | 22 | |
23 | 23 | public function register() |
24 | 24 | { |
25 | - $this->mergeConfigFrom(__DIR__ . '/../config/tail.php', 'tail'); |
|
25 | + $this->mergeConfigFrom(__DIR__.'/../config/tail.php', 'tail'); |
|
26 | 26 | } |
27 | 27 | } |