| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 90.91% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class LogCollector implements SummaryCollectorInterface |
||
| 8 | { |
||
| 9 | use CollectorTrait; |
||
| 10 | |||
| 11 | private array $messages = []; |
||
| 12 | |||
| 13 | 2 | public function getCollected(): array |
|
| 16 | } |
||
| 17 | |||
| 18 | 2 | public function collect(string $level, $message, array $context, string $line): void |
|
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | 1 | private function reset(): void |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | public function getSummary(): array |
|
| 47 |
This check looks for private methods that have been defined, but are not used inside the class.