Problem/Motivation
Coding Standard issues are present.
Steps to reproduce
phpcs ./first_time_login --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml first_time_login/
FILE: /first_time_login/first_time_login.module
-----------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------
107 | WARNING | Only string literals should be passed to t() where possible
116 | WARNING | Only string literals should be passed to t() where possible
-----------------------------------------------------------------------------
FILE: /first_time_login/src/Form/FirstTimeLoginSettings.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | coding_standard_fixes-3287026-3.patch | 3.67 KB | urvashi_vora |
Issue fork first_time_login-3287026
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
urvashi_vora commentedI am working on this
Comment #3
urvashi_vora commentedHi @kuntal_d,
Please review this patch.
Thanks
Comment #4
kuntal_d commentedPatch applied successfully and it solved the Coding standard issue.
Comment #6
urvashi_vora commentedHi @kuntal_d
Please check if you can merge this request.
Thanks
Comment #7
kuntal_d commentedHi @urvashi_vora,
I don't have access to merge.
Comment #9
neerajsinghThank you @urvashi_vora and @kuntal_d, I have merged the MR.