Problem/Motivation

Getting following warning.

FILE: /var/www/html/modules/contrib/betterlt/better_local_tasks.module
------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------
30 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------

Time: 812ms; Memory: 6MB

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

Proposed resolution

Above warning need to be fixed.

CommentFileSizeAuthor
#2 3335993-2.patch549 bytessamitk

Issue fork betterlt-3335993

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
new549 bytes

Above warning is fixed.

sahilgidwani’s picture

Assigned: Unassigned » sahilgidwani
avpaderno’s picture

Title: Drupal Coding Standards Issues | phpcs » Fix the issues reported by phpcs
Issue tags: -, -Drupal coding standard issue
avpaderno’s picture

Assigned: sahilgidwani » Unassigned
Priority: Normal » Minor

hardikpandya made their first commit to this issue’s fork.

hardikpandya’s picture

Status: Needs review » Reviewed & tested by the community

There are no more phpcs issues reported. Marking RTBC and created MR.

avpaderno’s picture

Category: Bug report » Task

Neslee Canil Pinto made their first commit to this issue’s fork.

neslee canil pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.