Problem/Motivation
Getting following errors.
FILE: /var/www/html/modules/contrib/table_bs_filter/src/Plugin/Filter/TableBSFilter.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------
66 | ERROR | The array declaration extends to column 89 (the limit is 80). The array content should be split up over multiple lines
68 | ERROR | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
70 | ERROR | The array declaration extends to column 96 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------
Time: 488ms; 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/table_bs_filter/
Proposed resolution
Above errors need to be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3341780-2.patch | 1.16 KB | samitk |
Issue fork table_bs_filter-3341780
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:
- 3341780-drupal-coding-standards
changes, plain diff MR !1
Comments
Comment #2
samitk commentedAbove errors are fixed.
Comment #3
ranjit1032002I had Reviewed the patch and it's working as expected mentioned in comment #2
Comment #5
urvashi_vora commentedReviewed and tested #2.
LGTM
RTBC++
Committing the changes to help the maintainers.
Comment #7
ivnishThanks everyone!
Comment #8
ivnish