Problem/Motivation

Getting following warnings.

FILE: /app/modules/contrib/anonymous_login/src/EventSubscriber/AnonymousLoginSubscriber.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
24 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------

FILE: /app/modules/contrib/anonymous_login/src/Form/AnonymousLoginSettings.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------

Time: 916ms; Memory: 12MB

Steps to reproduce

Run following command

phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/anonymous_login/

Proposed resolution

Above warnings need to be fixed.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

samit.310@gmail.com created an issue. See original summary.

samitk’s picture

Assigned: samitk » Unassigned
Status: Needs work » Needs review
StatusFileSize
new968 bytes

Error/warnings are fixed.

Charchil Khandelwal made their first commit to this issue’s fork.

charchil khandelwal’s picture

Issue tags: -, -

Created MR for this issue, Please review.
Thank You

arunkumark’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +moving to RTBC
StatusFileSize
new48.5 KB

The patch was applied cleanly and there is no other Coding standard issue.

Moving this issue to RTBC.

japerry’s picture

Status: Reviewed & tested by the community » Closed (outdated)