Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function __construct(Throwable $previous) |
||
12 | { |
||
13 | $message = sprintf( |
||
14 | <<<TEXT |
||
15 | An error occurred during configuration build. |
||
16 | The file being processed: "%s:%d". |
||
17 | Error text: |
||
18 | %s |
||
19 | Please, take care of fixing errors in this file before you continue. |
||
20 | TEXT, |
||
21 | $previous->getFile(), |
||
22 | $previous->getLine(), |
||
23 | $previous->getMessage() |
||
24 | ); |
||
25 | |||
26 | parent::__construct($message, (int)$previous->getCode()); |
||
27 | } |
||
29 |