Fix the issues reported by phpcs

Created on 14 March 2023, over 1 year ago
Updated 9 September 2023, about 1 year ago

Problem/Motivation

Getting following errors.

FILE: /var/www/html/modules/contrib/reassign_user_content/reassign_user_content.module
-----------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------
 115 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4
 115 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 4
 116 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4
 117 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 4
 130 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------

Time: 6.07 secs; Memory: 6MB

Steps to reproduce

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India samit.310@gmail.com

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

Not all content is available!

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

Production build 0.71.5 2024