reviewdog [drupal-coder (drupal practice)] report
reported by reviewdog 🐶
Findings (7)
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|72 col 11| Unused private method setEntityTypeManager()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|82 col 11| Unused private method setLanguageManager()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|92 col 11| Unused private method setResponseWrapper()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php|68 col 11| Unused private method setEntityTypeManager()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php|78 col 11| Unused private method setCurrentUser()
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php|88 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#L72 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setEntityTypeManager()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:72: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#L82 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setLanguageManager()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:82: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#L92 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setResponseWrapper()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:92:11: warning: Unused private method setResponseWrapper() (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php#L68 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setEntityTypeManager()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php:68: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/ThunderEntityListProducerBase.php#L78 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setCurrentUser()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php:78:11: warning: Unused private method setCurrentUser() (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php#L88 <DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod>
Unused private method setResponseWrapper()
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php:88: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)