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

reviewdog [drupal-coder (drupal)] report

reported by reviewdog 🐶

Findings (3)

modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php|5 col 1| Unused use statement
modules/thunder_gqls/src/Wrappers/EntityListResponse.php|33 col 6| Missing parameter comment
modules/thunder_gqls/src/Wrappers/EntityListResponse.php|37 col 22| The trigger_error message 'Calling the constructor with the query parameter is deprecated. Use service injection instead of directly instantiating and then use ::setQuery() instead.' does not match the relaxed standard format: %thing% is deprecated in %deprecation-version% any free text %removal-version%. %extra-info%. See %cr-link%

Filtered Findings (0)

Annotations

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

See this annotation in the file changed.

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

[drupal-coder (drupal)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L5 <Drupal.Classes.UnusedUseStatement.UnusedUse>

Unused use statement
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:5:1: warning: Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse)

Check failure on line 33 in modules/thunder_gqls/src/Wrappers/EntityListResponse.php

See this annotation in the file changed.

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

[drupal-coder (drupal)] modules/thunder_gqls/src/Wrappers/EntityListResponse.php#L33 <Drupal.Commenting.FunctionComment.MissingParamComment>

Missing parameter comment
Raw output
/github/workspace/modules/thunder_gqls/src/Wrappers/EntityListResponse.php:33:6: error: Missing parameter comment (Drupal.Commenting.FunctionComment.MissingParamComment)

Check failure on line 37 in modules/thunder_gqls/src/Wrappers/EntityListResponse.php

See this annotation in the file changed.

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

[drupal-coder (drupal)] modules/thunder_gqls/src/Wrappers/EntityListResponse.php#L37 <Drupal.Semantics.FunctionTriggerError.TriggerErrorTextLayoutRelaxed>

The trigger_error message 'Calling the constructor with the query parameter is deprecated. Use service injection instead of directly instantiating and then use ::setQuery() instead.' does not match the relaxed standard format: %thing% is deprecated in %deprecation-version% any free text %removal-version%. %extra-info%. See %cr-link%
Raw output
/github/workspace/modules/thunder_gqls/src/Wrappers/EntityListResponse.php:37:22: error: The trigger_error message 'Calling the constructor with the query parameter is deprecated. Use service injection instead of directly instantiating and then use ::setQuery() instead.' does not match the relaxed standard format: %thing% is deprecated in %deprecation-version% any free text %removal-version%. %extra-info%. See %cr-link% (Drupal.Semantics.FunctionTriggerError.TriggerErrorTextLayoutRelaxed)