Completed
Push — master ( 0bd2ec...b69e83 )
by Vladimir
02:54
created
src/Toolbelt/Commands/Log.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Application/LogServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.