@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Toolbelt\Commands; |
| 6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | $path = $this->kernel->resolve('application_log'); |
| 30 | 30 | $command = 'tail -f -n 1000 '.escapeshellarg($path); |
| 31 | 31 | |
| 32 | - (new Process($command))->setTimeout(null)->run(function ($type, $line) { |
|
| 32 | + (new Process($command))->setTimeout(null)->run(function($type, $line) { |
|
| 33 | 33 | $this->line($line); |
| 34 | 34 | }); |
| 35 | 35 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Application; |
| 6 | 6 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | $this->container->share('application_log', $path); |
| 39 | 39 | |
| 40 | - $this->getContainer()->share(LoggerInterface::class, function () use ($path) { |
|
| 40 | + $this->getContainer()->share(LoggerInterface::class, function() use ($path) { |
|
| 41 | 41 | $logger = new Logger('FondBot'); |
| 42 | 42 | $logger->pushHandler(new StreamHandler($path)); |
| 43 | 43 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | $whoops = new Run; |
| 48 | 48 | $whoops->pushHandler(new PrettyPageHandler); |
| 49 | - $whoops->pushHandler(function (Throwable $exception) { |
|
| 49 | + $whoops->pushHandler(function(Throwable $exception) { |
|
| 50 | 50 | /** @var LoggerInterface $logger */ |
| 51 | 51 | $logger = $this->getContainer()->get(LoggerInterface::class); |
| 52 | 52 | |