GraphQL query for Search API #1925
GitHub Actions / drupal-coder (drupal practice)
failed
Aug 21, 2024 in 0s
reviewdog [drupal-coder (drupal practice)] report
reported by reviewdog 🐶
Findings (1)
modules/thunder_gqls/src/Wrappers/EntityListResponse.php|41 col 18| \Drupal calls should be avoided in classes, use dependency injection instead
Filtered Findings (0)
Annotations
Check warning on line 41 in modules/thunder_gqls/src/Wrappers/EntityListResponse.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Wrappers/EntityListResponse.php#L41 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/modules/thunder_gqls/src/Wrappers/EntityListResponse.php:41:18: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Loading