Total Complexity | 8 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | class CallerDataFormatter extends AbstractFormatter implements CallerDataFormatterInterface, CallerConstants |
||
11 | { |
||
12 | /** |
||
13 | * @param mixed $options |
||
14 | */ |
||
15 | 4 | public function __construct($options = null) |
|
19 | 3 | } |
|
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | 6 | public function process(CallerData $data): string |
|
41 | ); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param CallerData $caller |
||
46 | * @return string |
||
47 | */ |
||
48 | 6 | private function getLineAndFile(CallerData $caller): string |
|
59 | } |
||
60 | |||
61 | /** |
||
62 | * @param CallerData $caller |
||
63 | * @return string |
||
64 | */ |
||
65 | 6 | private function getFunction(CallerData $caller): string |
|
74 |