@@ -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('92193684-b2a9-84ca-cd07-d1631a3813d2'); |
6 | 6 | $logfile->setPath(__DIR__); |
@@ -17,7 +17,7 @@ discard block |
||
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 | }); |
@@ -113,7 +113,7 @@ discard block |
||
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 |
||
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 |
@@ -22,7 +22,7 @@ |
||
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 | } |
@@ -24,6 +24,6 @@ |
||
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 | } |