The following errors and warnings need to be fixed:

| Comment | File | Size | Author |
|---|---|---|---|
| #11 | deploy_improve-coding-based-on-drupal-standards_2934343_11.patch | 18.4 KB | davi.uezono |
| #7 | apply_patch.png | 561.67 KB | sivaprasadc |
| #3 | coding_standards-12407154-2.patch | 17.78 KB | sivaprasadc |
| coding_change.png | 145.74 KB | venkatesh rajan.j |
Comments
Comment #2
sivaprasadc commentedComment #3
sivaprasadc commentedHi,
Here is a patch that fixes the coding standards for 8.x-1.x-dev. Hope it helps. PFA
Thanks.
Comment #4
sivaprasadc commentedComment #5
davi.uezono commentedno issues found when running
deploy$ phpcs --standard=Drupal .Comment #6
jeqq commentedComment #7
sivaprasadc commented@jeqq
I hope the current branch is 8.x-1.x. It applied correctly, please find the attached Screenshot.
Is I'm doing anything wrong?
Comment #8
jeqq commented@Sivaprasad C you are doing it correctly but most probably you don't have the latest changes locally. Try to pull latest commits and try to apply the patch.
Comment #9
davi.uezono commentedwork in progress
Comment #10
davi.uezono commentedComment #11
davi.uezono commentedSorry, I downloaded the source code through
drush dlinstead ofgit clone, that was my mistake.Newer version attached.
Thanks for your patience with newbies like me.
Comment #12
venkatesh rajan.j commentedComment #13
venkatesh rajan.j commented@davi.uezono,
All the errors have been fixed by your patch but there is one more warning left to be fixed
Comment #14
davi.uezono commentedYes. Following this thread, I thought it would be considered a false positive warning. I have also considered this blog article: https://chromatichq.com/blog/drupal-code-standards-t-function.
Not sure what to consider by those readings. Any thoughts?
Comment #15
jeqq commentedComment #16
jeqq commentedThank you!
I've committed this and assigned the credits accordingly, but for some reasons the commits don't appear in this issue. You can see the commits here: https://www.drupal.org/node/230088/commits
I hope it's just a drupal.org delay.