The type JMS\Serializer\Metadata\Driver\list was not found. Maybe you did not declare it correctly or list all dependencies?
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:
The expression return $this->reader->getClassAnnotations($class) returns the type array<mixed,object> which is incompatible with the documented return type JMS\Serializer\Metadata\Driver\list.
Loading history...
35
}
36
37
/**
38
* @return list<object>
39
*/
40
protected function getMethodAnnotations(\ReflectionMethod $method): array
The expression return $this->reader->ge...hodAnnotations($method) returns the type array<mixed,object> which is incompatible with the documented return type JMS\Serializer\Metadata\Driver\list.
Loading history...
43
}
44
45
/**
46
* @return list<object>
47
*/
48
protected function getPropertyAnnotations(\ReflectionProperty $property): array
The expression return $this->reader->ge...yAnnotations($property) returns the type array<mixed,object> which is incompatible with the documented return type JMS\Serializer\Metadata\Driver\list.
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