Passed
Push — master ( 184cb3...5f1713 )
by Waaaaaaaaaa
02:19
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:3030');
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.