Drupal Practice Error

Created on 3 December 2022, about 2 years ago
Updated 31 January 2024, 12 months ago

Problem/Motivation

FILE: ...s/contrib/message_integration/modules/message_integration_example_user_field/src/EventSubscriber/GetMessageIntegrationInfoSubscriber.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
 64 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/drupal_9.4/drupal/web/modules/contrib/message_integration/src/Form/SettingsForm.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
 14 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
 45 | ERROR   | Missing parameter comment
-----------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/drupal_9.4/drupal/web/modules/contrib/message_integration/src/MessageIntegrationPostRender.php
------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------
 65 | WARNING | Line exceeds 80 characters; contains 81 characters
------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/drupal_9.4/drupal/web/modules/contrib/message_integration/message_integration.tokens.inc
------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------
 138 | ERROR | [ ] Return type "array|null A render array of the diff between the nodes." must not contain spaces
 140 | ERROR | [x] Separate the @return and @throws sections by a blank line.
------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------

๐Ÿ“Œ Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Rohit Rana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Iโ€™ll handle directly in the repo. These kind of tickets I see as credit farming and I donโ€™t usually accept them.

    But if anyone wishes to contribute feel free in a meaningful way

Production build 0.71.5 2024