Test Failed
Push — master ( efe5ed...54a6b7 )
by Waaaaaaaaaa
02:20
created
example.php 1 patch
Spacing   +2 added lines, -2 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('92193684-b2a9-84ca-cd07-d1631a3813d2');
6 6
 $logfile->setPath(__DIR__);
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
 // --------
19 19
 
20
-set_exception_handler(function (Throwable $e) use($logfile, $logger) {
20
+set_exception_handler(function(Throwable $e) use($logfile, $logger) {
21 21
     $logfile->captureException($e);
22 22
     $logger->error($e->getMessage(), ['exception' => $e]);
23 23
 });
Please login to merge, or discard this patch.
src/Frame.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $count = count($value);
114 114
 
115 115
         if ($count > 100) {
116
-            return 'Array of length ' . $count;
116
+            return 'Array of length '.$count;
117 117
         }
118 118
 
119 119
         $types = [];
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
         }
130 130
 
131 131
         if (count($types) > 3) {
132
-            return 'Mixed Array of length ' . $count;
132
+            return 'Mixed Array of length '.$count;
133 133
         }
134 134
 
135
-        return 'Array<'.implode('|', $types).'> of length ' . $count;
135
+        return 'Array<'.implode('|', $types).'> of length '.$count;
136 136
     }
137 137
 
138 138
     protected function normalise($value): string
Please login to merge, or discard this patch.
tests/FrameTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         $frame->setFile(__FILE__);
24 24
         $frame->setPath(__DIR__.'/../tests');
25
-        $this->assertEquals(__DIR__ .'/', $frame->getPath());
25
+        $this->assertEquals(__DIR__.'/', $frame->getPath());
26 26
         $this->assertTrue($frame->hasPath());
27 27
         $this->assertEquals(basename(__FILE__), $frame->getRelativeFilepath());
28 28
     }
Please login to merge, or discard this patch.
src/PathTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
             throw new \InvalidArgumentException('Path does not exist: '.$path);
25 25
         }
26 26
 
27
-        $this->path = $realpath . '/';
27
+        $this->path = $realpath.'/';
28 28
     }
29 29
 }
Please login to merge, or discard this patch.