Passed
Push — master ( 224397...5f8db2 )
by Waaaaaaaaaa
04:30
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('edebc96b-85df-cf14-1487-72fb8ee7a171');
6 6
 $logfile->getSender()->setHost('localhost:8077');
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.