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 (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

Check warning on line 73 in modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php

See this annotation in the file changed.

@github-actions 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)

Check warning on line 83 in modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php

See this annotation in the file changed.

@github-actions 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)

Check warning on line 93 in modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php

See this annotation in the file changed.

@github-actions 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

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#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)