| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 87.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait MetadataTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var MetadataFactoryInterface |
||
| 17 | */ |
||
| 18 | private $metadataFactory; |
||
| 19 | |||
| 20 | 13 | private function getIdValue($object) |
|
| 21 | { |
||
| 22 | 13 | return $this->getClassMetadata($object)->id->getValue($object); |
|
| 23 | } |
||
| 24 | |||
| 25 | 13 | private function getClassMetadata($object): TransferMetadata |
|
| 36 | } |
||
| 37 | } |
||
| 38 |
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