Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | 4 | public function __construct(string $errorOutput, string $parsedText, string $command) |
|
10 | { |
||
11 | $exceptionTemplateMessage = <<<'MSG' |
||
12 | 4 | Process has generated the following output errors: |
|
13 | |||
14 | %s |
||
15 | |||
16 | With command: "%s" |
||
17 | |||
18 | For text: |
||
19 | "%s" |
||
20 | MSG; |
||
21 | |||
22 | 4 | parent::__construct( |
|
23 | 4 | \Safe\sprintf( |
|
|
|||
24 | 4 | $exceptionTemplateMessage, |
|
25 | 4 | $errorOutput, |
|
26 | 4 | $command, |
|
27 | 4 | $parsedText |
|
28 | ) |
||
32 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.