Fix the issues reported by PHPCS

Created on 15 March 2023, almost 2 years ago
Updated 17 March 2023, almost 2 years ago

Problem/Motivation

Getting the following error/warnings

FILE: /node_read_time/node_read_time.module
--------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------
119 | ERROR | [ ] Missing short description in doc comment
123 | ERROR | [x] Opening brace should be on the same line as the declaration
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------

Steps to reproduce

Run the following command:
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml node_read_time

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India omkar_yewale Mumbai

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