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