- Issue created by @kriboogh
When running ci tests during merge requests errors are reported classes from facets and search_api are missing.
Matomo should declare a dependency on both modules.
------ ----------------------------------------------------------------------
Line src/HookHandler/ViewsPostRenderHookHandler.php
------ ----------------------------------------------------------------------
36 Property
Drupal\matomo\HookHandler\ViewsPostRenderHookHandler::$facetsManager
has unknown class Drupal\facets\FacetManager\DefaultFacetManager as
its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
48 Parameter $facetsManager of method
Drupal\matomo\HookHandler\ViewsPostRenderHookHandler::__construct()
has invalid type Drupal\facets\FacetManager\DefaultFacetManager.
214 Class Drupal\search_api\Plugin\views\query\SearchApiQuery not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Plugin/views/display_extender/Matomo.php
------ ----------------------------------------------------------------------
47 Property
Drupal\matomo\Plugin\views\display_extender\Matomo::$facetsManager
has unknown class Drupal\facets\FacetManager\DefaultFacetManager as
its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
160 Class Drupal\search_api\Plugin\views\query\SearchApiQuery not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ----------------------------------------------------------------------
Run a merge request on this project.
Add a test_dependency on search_api and facets
Active
1.0
Code