GraphQL query for Search API #1908
reviewdog [drupal-coder (drupal)] report
reported by reviewdog 🐶
Findings (3)
modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php|229 col 6| Return type "\Drupal\thunder_gqls\Wrappers\EntityListResponse The search api response." must not contain spaces
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
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php#L229 <Drupal.Commenting.FunctionComment.ReturnTypeSpaces>
Return type "\Drupal\thunder_gqls\Wrappers\EntityListResponse The search api response." must not contain spaces
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderEntityListProducerBase.php:229:6: error: Return type "\Drupal\thunder_gqls\Wrappers\EntityListResponse The search api response." must not contain spaces (Drupal.Commenting.FunctionComment.ReturnTypeSpaces)
Check failure on line 33 in modules/thunder_gqls/src/Wrappers/EntityListResponse.php
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
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)