Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 1 | $e->getFile(), |
|
25 | 1 | $e->getLine(), |
|
26 | 1 | $e->getTraceAsString() |
|
27 | ); |
||
28 | |||
29 | 1 | $this->string = sprintf("%s\n%s\n\n%s\n%s\n\n", date(DATE_RFC2822), $request, $eSummery, $this->getPhpVariables($_SERVER)); |
|
30 | 1 | } |
|
31 | |||
32 | 1 | public function __toString() |
|
33 | { |
||
34 | 1 | return $this->string; |
|
35 | } |
||
36 | |||
37 | private function getPhpVariables(array $server) : string |
||
42 |