@@ -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:8077'); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | // -------- |
26 | 26 | |
27 | -set_exception_handler(function (Throwable $e) use($logfile, $logger) { |
|
27 | +set_exception_handler(function(Throwable $e) use($logfile, $logger) { |
|
28 | 28 | $logger->error($e->getMessage(), ['exception' => $e]); |
29 | 29 | }); |
30 | 30 | |
@@ -34,6 +34,6 @@ discard block |
||
34 | 34 | |
35 | 35 | try { |
36 | 36 | fail('this'); |
37 | -} catch(ErrorException $e) { |
|
37 | +} catch (ErrorException $e) { |
|
38 | 38 | throw new RuntimeException('doh!', 0, $e); |
39 | 39 | } |