Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3.0416 |
Changes | 0 |
1 | <?php |
||
25 | 13 | private function getClassMetadata($object): TransferMetadata |
|
26 | { |
||
27 | 13 | if ($object instanceof AccessInterceptorValueHolderInterface) { |
|
|
|||
28 | $object = $object->getWrappedValueHolderValue(); |
||
29 | } |
||
30 | |||
31 | 13 | if (is_object($object)) { |
|
32 | 13 | $object = get_class($object); |
|
33 | } |
||
34 | |||
35 | 13 | return $this->metadataFactory->getMetadataForClass($object); |
|
36 | } |
||
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