- Issue created by @Priya_Degwekar
- 🇮🇳India Priya_Degwekar
Hi,
I have created a patch to fix the issues.
Please review.
Thanks. - Status changed to Needs review
12 months ago 6:34am 5 July 2023
$ phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml sector_starter/
FILE: C:\Users\abc\Downloads\sector_starter\sector_starter.theme
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
25 | WARNING | Doc comment indicates hook_form_alter() but function signature
| | is "sector_starter_form_system_theme_settings_alter" instead
| | of "sector_starter_form_alter". Did you mean
| | hook_form_FORM_ID_alter()?
76 | WARNING | Unused variable $link_text.
83 | WARNING | Unused variable $node.
105 | WARNING | Unused variable $link_text.
171 | WARNING | Unused variable $key.
265 | WARNING | There must be no blank line following an inline comment
--------------------------------------------------------------------------------
Time: 3.66 secs; Memory: 84MB
Create a patch.
Needs review
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.
Hi,
I have created a patch to fix the issues.
Please review.
Thanks.