Fix the issues reported by phpcs

Created on 15 May 2023, over 1 year ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

Module's code contains several Drupal Coding Standards issues. This task is created to fix them.

Steps to reproduce

Run the command:
phpcs --standard=Drupal web/modules/contrib/lussoluca-3357446/

Proposed resolution

Fix the following coding standards issues and upload the patch or create an MR with fixes.

FILE: \modules\contrib\lussoluca-3357446\src\Controller\ErrorController.php
----------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  7 | ERROR | [ ] Doc comment is empty
 12 | ERROR | [ ] Missing short description in doc comment
 13 | ERROR | [ ] Missing parameter comment
 15 | ERROR | [ ] Description for the @return value is missing
 25 | ERROR | [x] Expected 1 blank line after function; 0 found
 26 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------
📌 Task
Status

RTBC

Component

Code

Created by

🇮🇳India Shanu Chouhan

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024