$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml icon_select/
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9000 (through xdebug.client_host/xdebug.client_port) :-(
FILE: C:\Users\SI-001\Downloads\icon_select\icon_select.module
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
146 | ERROR | The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------
FILE: C:\Users\SI-001\Downloads\icon_select\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
15 | WARNING | Line exceeds 80 characters; contains 162 characters
----------------------------------------------------------------------
Time: 565ms; Memory: 10MB
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | interdiff-0_18.txt | 293 bytes | urvashi_vora |
| #18 | 3303954-fixed-coding-standards-18.patch | 3.67 KB | urvashi_vora |
| #14 | 3303954-fixing_coding_standards.patch | 3.29 KB | viniciuscosta |
| #13 | 3303954-fixing_coding_standards.patch | 0 bytes | viniciuscosta |
| #8 | drupal-coding-standard-issue-3303954-8.patch | 3.69 KB | cinarb |
Issue fork icon_select-3303954
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
rakhi soni commentedKindly review patch,,
Comment #3
mauryarahul11Thanks @Rakhi Soni for your patch it fixes all the warnings given by phpcs except one in twig file (given below) which i can see why because you haven't added twig extension in your phpcs command. So moving it to Needs Work.
Comment #4
LeoAlcci commentedI will take care of it!
Comment #5
LeoAlcci commentedAdd a new line to fix coding stadards.
Kindly review the patch =)
Comment #6
cinarb commentedI'll review :)
Comment #7
cinarb commentedComment #8
cinarb commentedAfter running phpcs I found more drupal code standards to fix on js files.
I added these new changes. =D
Comment #9
christyanpaim commentedComment #10
christyanpaim commentedApparently the module is not working well after the changes on JS files.
Comment #11
viniciuscosta commentedHi, I'll take care of it!
Comment #12
viniciuscosta commentedComment #13
viniciuscosta commentedComment #14
viniciuscosta commentedComment #15
viniciuscosta commentedComment #16
urvashi_vora commentedHi,
I will review this
Comment #17
urvashi_vora commentedHi ,
Your patch applied cleanly, only one issue found. I will provide a patch for it.
Comment #18
urvashi_vora commentedHi,
I created a patch and an interdiff.
Comment #19
atul_ghate commentedHi,
i will review this patch.
Comment #20
atul_ghate commentedThe patch was applied cleanly and there were no PHPCS errors.
Comment #21
cbessire commentedComment #24
cbessire commentedMerged on 2.0.x branch and rerolled upstream on 3.0.x betas.
Thanks for your contributions
Comment #25
ayalon commented