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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3335993-2.patch | 549 bytes | samitk |
Issue fork betterlt-3335993
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
Comment #2
samitk commentedAbove warning is fixed.
Comment #3
sahilgidwani commentedComment #4
avpadernoComment #5
avpadernoComment #8
hardikpandya commentedThere are no more phpcs issues reported. Marking RTBC and created MR.
Comment #9
avpadernoComment #12
neslee canil pinto