@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require __DIR__ . '/vendor/autoload.php'; |
|
3 | +require __DIR__.'/vendor/autoload.php'; |
|
4 | 4 | |
5 | 5 | $logfile = new Logfile\Logfile('5d428582-7733-151c-4eaf-d23d0ebdca3b '); |
6 | 6 | $logfile->getSender()->setHost('localhost:3030'); |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | // -------- |
25 | 25 | |
26 | -set_exception_handler(function (Throwable $e) use($logfile, $logger) { |
|
26 | +set_exception_handler(function(Throwable $e) use($logfile, $logger) { |
|
27 | 27 | $logger->error($e->getMessage(), ['exception' => $e]); |
28 | 28 | }); |
29 | 29 | |
@@ -33,6 +33,6 @@ discard block |
||
33 | 33 | |
34 | 34 | try { |
35 | 35 | fail('this'); |
36 | -} catch(ErrorException $e) { |
|
36 | +} catch (ErrorException $e) { |
|
37 | 37 | throw new RuntimeException('doh!', 0, $e); |
38 | 38 | } |