The type AbterPhp\Website\Events\IView 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 returns the type AbterPhp\Website\Events\PageViewed which is incompatible with the documented return type AbterPhp\Website\Events\IView.
Loading history...
50
}
51
52
/**
53
* @return bool
54
*/
55
public function isAllowed(): bool
56
{
57
return $this->isAllowed;
58
}
59
60
/**
61
* @param bool $isAllowed
62
*/
63
public function setIsAllowed(bool $isAllowed): void
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