The type loophp\collection\Collection 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 type loophp\collection\Contract\Collection 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 doc comment class-string<TCollection> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<TCollection>.
Loading history...
18
private string $class = Collection::class;
19
20
public function __construct()
21
{
22
if (!class_exists(Collection::class, true)) {
23
throw new CollectionFactoryException(
24
sprintf(
25
'There is no %s class. To resolve this issue you can install `loophp/collection` package.',
26
Collection::class
27
)
28
);
29
}
30
}
31
32
public function getInterface(): ?string
33
{
34
return CollectionInterface::class;
35
}
36
37
public function withCollectionClass(string $class): static
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