Drupal Coding Standards Issues | phpcs

Created on 17 January 2023, about 2 years ago

Problem/Motivation

Getting following warnings.

FILE: /var/www/html/modules/contrib/inspire_tree/inspire_tree.module
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------------------
27 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
43 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
44 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
51 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
52 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

Time: 505ms; 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/inspire_tree/

Proposed resolution

Above warnings need to be fixed.

🐛 Bug report
Status

Closed: won't fix

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

Comments & Activities

Not all content is available!

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

  • Status changed to RTBC about 2 years ago
  • Status changed to Closed: won't fix about 2 years ago
Production build 0.71.5 2024