Passed
Push — master ( 71216c...224397 )
by Waaaaaaaaaa
06:00
created
example.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
-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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.