| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class CustomJsonSerializer extends JsonSerializer |
||
| 17 | { |
||
| 18 | public const SKIP_PROPERTIES = [ |
||
| 19 | 'defaultDelimiter', |
||
| 20 | 'clauses', |
||
| 21 | 'statementOptions', |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Extract the object data |
||
| 26 | * |
||
| 27 | * @param object $value |
||
| 28 | * @param ReflectionClass $ref |
||
| 29 | * @param string[] $properties |
||
| 30 | * |
||
| 31 | * @return array<string,mixed> |
||
| 32 | */ |
||
| 33 | // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
| 34 | protected function extractObjectData($value, $ref, $properties): array |
||
| 54 |