Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| PlainFormatter | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| format | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celemas\Log\Formatter; |
| 6 | |
| 7 | use Celemas\Log\Formatter; |
| 8 | use Override; |
| 9 | |
| 10 | /** @api */ |
| 11 | final class PlainFormatter implements Formatter |
| 12 | { |
| 13 | #[Override] |
| 14 | public function format(string $message, array $context = []): string |
| 15 | { |
| 16 | return $message; |
| 17 | } |
| 18 | } |