Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function __construct($path, Throwable $previous = null) |
||
12 | { |
||
13 | $message = sprintf( |
||
14 | <<<TEXT |
||
15 | An error occured during configuration build. |
||
16 | The file being processed: "%s". |
||
17 | Error text: |
||
18 | %s |
||
19 | Please, take care of fixing errors in this file before you continue. |
||
20 | TEXT, |
||
21 | $path, |
||
22 | $previous->getMessage() |
||
|
|||
23 | ); |
||
24 | |||
25 | parent::__construct($message); |
||
26 | } |
||
28 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.