reviewdog [drupal-coder (drupal practice)] report
reported by reviewdog 🐶
Findings (4)
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|73 col 11| Unused private method setEntityTypeManager()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|83 col 11| Unused private method setLanguageManager()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|93 col 11| Unused private method setResponseWrapper()
modules/thunder_gqls/src/Wrappers/EntityListResponse.php|89 col 24| \Drupal calls should be avoided in classes, use dependency injection instead
Filtered Findings (0)
Annotations
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L73 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setEntityTypeManager()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:73:11: warning: Unused private method setEntityTypeManager() (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L83 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setLanguageManager()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:83:11: warning: Unused private method setLanguageManager() (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L93 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setResponseWrapper()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:93:11: warning: Unused private method setResponseWrapper() (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
Check warning on line 89 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#L89 <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:89:24: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)