| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 70% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | #[Immutable] |
||
| 12 | final class PropertyHelper |
||
| 13 | { |
||
| 14 | private function __construct() |
||
| 16 | } |
||
| 17 | |||
| 18 | public static function getName(\ReflectionProperty|\ReflectionParameter $property): string |
||
| 19 | { |
||
| 20 | 19 | return SerializerHelper::getSerializedNameAttribute($property)->getSerializedName(); |
|
| 21 | } |
||
| 22 | |||
| 23 | 19 | public static function getTypeName(\ReflectionProperty|\ReflectionParameter $property): ?string |
|
| 35 | } |
||
| 36 | } |
||
| 37 |
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