The type WP_Query 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 trait Leonidas\Library\System\...\ValidatesPostTypeTrait requires the property $post_type which is not provided by Leonidas\Library\System\Model\Page\PageQuery.
Loading history...
17
use PoweredByModelQueryKernelTrait;
18
19
public function __construct(WP_Query $query, PostConverterInterface $converter)
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