Skip to content
GitHub Actions / drupal-coder (drupal practice) failed Aug 20, 2024 in 1s

reviewdog [drupal-coder (drupal practice)] report

reported by reviewdog 🐶

Findings (1)

modules/thunder_gqls/src/Wrappers/EntityListResponse.php|88 col 24| \Drupal calls should be avoided in classes, use dependency injection instead

Filtered Findings (0)

Annotations

Check warning on line 88 in modules/thunder_gqls/src/Wrappers/EntityListResponse.php

See this annotation in the file changed.

@github-actions github-actions / drupal-coder (drupal practice)

[drupal-coder (drupal practice)] modules/thunder_gqls/src/Wrappers/EntityListResponse.php#L88 <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:88:24: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)