| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __construct(Throwable $e, Request $request) |
||
| 23 | { |
||
| 24 | $eSummery = sprintf( |
||
| 25 | "%s(%s)\n in file %s on line %s\n\n%s", |
||
| 26 | get_class($e), |
||
| 27 | $e->getMessage(), |
||
| 28 | $e->getFile(), |
||
| 29 | $e->getLine(), |
||
| 30 | $e->getTraceAsString() |
||
| 31 | ); |
||
| 32 | |||
| 33 | /** @var array<string, string> $_SERVER */ //phpcs:ignore SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.NoAssignment |
||
| 34 | $this->string = sprintf("%s\n%s\n\n%s\n%s\n\n", date(DATE_RFC2822), (string) $request, $eSummery, $this->getPhpVariables($_SERVER)); |
||
| 35 | } |
||
| 36 | |||
| 50 |