Problem/Motivation
Getting following error/warnings.
FILE: /var/www/html/modules/contrib/add_child_page/README.md
-----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------
65 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
65 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------
Time: 2.62 secs; 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/add_child_page/
Proposed resolution
Above error/warning need to be fixed.
| Comment | File | Size | Author |
|---|
Issue fork add_child_page-3338459
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 error/warning are fixed.
Comment #3
Sonal Gyanani commentedComment #5
Sonal Gyanani commentedPatch #2 applied cleanly, and all errors and warnings are fixed.
Created MR for the same.
RTBC +1
Thanks
Comment #6
a.aaronjake commentedHi Sonal Gyanani,
Applied the patch that was also put in MR, it was applied successfully, however, there are still errors that was not addressed by the patch/MR. Please see below:
Kindly check
Thanks,
Jake
Comment #7
baikho commentedComment #14
baikho commented