| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | 1 | public function __construct( string $message, int $code, int $line, string $file ) |
|
| 43 | { |
||
| 44 | |||
| 45 | // Call the parent constructor |
||
| 46 | 1 | parent::__construct( \strip_tags( $message ), $code ); |
|
| 47 | |||
| 48 | // Setting the error file manually. |
||
| 49 | 1 | $this->file = $file; |
|
| 50 | |||
| 51 | // Setting the error line manually. |
||
| 52 | 1 | $this->line = $line; |
|
| 53 | |||
| 54 | 1 | } |
|
| 55 | |||
| 61 |