| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class JMSSerializer implements SerializerInterface |
||
| 10 | { |
||
| 11 | use SerializerTrait; |
||
| 12 | |||
| 13 | public function __construct(private Serializer $serializer, private ?SerializationContext $context = null) |
||
| 14 | { |
||
| 15 | |||
| 16 | } |
||
| 17 | |||
| 18 | public function serialize(mixed $data, string $format): ?string |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getSupportedFormats(): array |
||
| 26 | } |
||
| 27 | 4 | ||
| 28 | public function getDefaultFormat(): string |
||
| 33 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths