----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
13 | ERROR | [x] list(...) is forbidden, use [...] instead.
----------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\add_translation\AddTranslation.
-------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------
11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Link.
146 | WARNING | [ ] #options values usually have to run through t() for translation
--------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3368876-4.patch | 6.78 KB | bharath-kondeti |
| #3 | 3368876-after-patch.png | 274.36 KB | clarkssquared |
| #2 | 3368876-2-fixed-issues-reported-by-phpcs.patch | 1.93 KB | vishal365365 |
Issue fork add_translation-3368876
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:
- 3368876-issues-reported-by
changes, plain diff MR !1
Comments
Comment #2
vishal365365 commentedissues fixed
Comment #3
clarkssquared commentedHi vishal365365
I applied your patch #2 to my local and noticed that there are still PHPCS issues being reported.
Please look at the screenshot attached for your reference
Thank you
Comment #5
bharath-kondeti commentedAddressed all the issues. Please review the patch
Comment #7
bharath-kondeti commentedComment #8
avpadernoThe issue summary should always describe what the issue is trying to fix and, in the case of coding standards issues, show which command and arguments have been used and which report that command shown. In this way, project maintainers can verify the patch/MR fixes all the warnings/errors.
Comment #9
avpadernoComment #11
jayprakash01 commentedThe patch has been applied, and the release has been made with a new tag.
Comment #13
jayprakash01 commentedThis is fixed now. Hence closing this.