Fix the issues reported by phpcs

Created on 19 December 2022, over 1 year ago
Updated 24 February 2023, over 1 year ago

Problem/Motivation

Getting following error

FILE: /app/modules/contrib/privatemsg/src/Form/MessagesForm.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
209 | ERROR | [x] No space found before comment text; expected "// $this->privateMsgService->deleteThread($thread_id);" but found
| | "//$this->privateMsgService->deleteThread($thread_id);"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 986ms; Memory: 14MB

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/privatemsg/

Proposed resolution

Above error need to be fixed

๐Ÿ“Œ Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia samit.310@gmail.com

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

Merge Requests

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.69.0 2024