$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ui_suite_protocol/
FILE: C:\xampp\htdocs\contribution\web\themes\contrib\ui_suite_protocol\ui_suite_protocol.theme
-----------------------------------------------------------------------------------------------
FOUND 50 ERRORS AFFECTING 23 LINES
-----------------------------------------------------------------------------------------------
21 | ERROR | [x] Expected 1 space after "="; 2 found
26 | ERROR | [x] Expected 1 space after "="; 2 found
40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
43 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
43 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
44 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
44 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
44 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
45 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
45 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
45 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
46 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
46 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
47 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
48 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
48 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
50 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found 1
53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
53 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
54 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
54 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
54 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
55 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
55 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
56 | ERROR | [x] Line indented incorrectly; expected at least 6 spaces, found 4
56 | ERROR | [x] Array indentation error, expected 5 spaces but found 4
57 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
58 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
58 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
60 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
60 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found 1
61 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
91 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
91 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
104 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
104 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
118 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
118 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
137 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
137 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
150 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
150 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 9
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 50 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------
Time: 404ms; Memory: 10MB
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drupal-coding-standard-3292587-8.patch | 5.7 KB | himanshu_jhaloya |
| #5 | patchnot-working.png | 52.01 KB | anoopsingh92 |
| #2 | drupal_coding_standard_issue-3292587-2.patch | 4.06 KB | rakhi soni |
Issue fork ui_suite_protocol-3292587
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:
- 3292587-drupal-coding-standard
changes, plain diff MR !1
Comments
Comment #2
rakhi soni commentedI have created a patch to fix the Drupal Coding Standard Issue,, please review.
Comment #3
mrinalini9 commentedHi,
I have reviewed patch #2, looks good to me. It applied cleanly and fixed all errors as mentioned above in the issue description.
Thanks & Regards,
Mrinalini
Comment #5
anoopsingh92Hi @mrinalini9, I don't know how you are applying this patch. You didn't share any screenshot of the patch applying.
@rakhi your patch is not working for me. I am getting these errors.
Please review carefully. I am moving it to Need work. Thanks
Comment #6
anoopsingh92Comment #7
himanshu_jhaloya commentedHi,
I will work on this issue
Comment #8
himanshu_jhaloya commentedHi,
I worked on this issue please review this patch.
Comment #9
atul_ghate commentedHi,
i will review this patch.
Comment #10
atul_ghate commented#8 The patch was applied cleanly, LGTM moving to RTBC.
Comment #13
grimreaperHi,
Patch does not apply anymore due to commit on the dev branch.
As there is no proper MR created, impossible to rebase.
I will recreate locally.
Comment #14
grimreaper