$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml glossify/
FILE: C:\xampp\htdocs\test\web\modules\contrib\glossify\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 185 characters
20 | WARNING | Line exceeds 80 characters; contains 84 characters
28 | WARNING | Line exceeds 80 characters; contains 84 characters
29 | WARNING | Line exceeds 80 characters; contains 108 characters
51 | WARNING | Line exceeds 80 characters; contains 94 characters
----------------------------------------------------------------------
FILE: ...docs\test\web\modules\contrib\glossify\tests\src\Unit\GlossifyBaseTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
160 | ERROR | [x] Array indentation error, expected 8 spaces but found 7
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 408ms; Memory: 10MB
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | after_patch.png | 101.25 KB | sourabhjain |
| #2 | drupal_coding_standard_issue-3292814-2.patch | 2.78 KB | rakhi soni |
Comments
Comment #2
rakhi soni commentedI have created a patch to fix this issue,, please review it.
Thanks & Regards
Rakhi Soni,,
Comment #3
sourabhjainI have reviewed it and the patch #2 looks fine.
Moving to RTBC
Comment #4
sourabhjainComment #5
sanduhrsFixed the above warnings and committed, thanks.