Problem/Motivation
Getting following error/warnings
FILE: /app/modules/contrib/html_title/html_title.module
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
119 | WARNING | Doc comment indicates hook_form_alter() but function signature is "html_title_form_node_form_alter" instead of "html_title_form_alter". Did you mean
| | hook_form_FORM_ID_alter()?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/src/Form/HtmlTitleSettingConfigForm.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
-----------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/src/HtmlTitleFilter.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/tests/modules/html_title_test/html_title_test.module
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
28 | WARNING | Doc comment indicates hook_form_alter() but function signature is "html_title_test_form_node_form_alter" instead of "html_title_test_form_alter". Did you
| | mean hook_form_FORM_ID_alter()?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/tests/src/Functional/HtmlTitleLayoutBuilderTest.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------
44 | ERROR | The array declaration extends to column 98 (the limit is 80). The array content should be split up over multiple lines
-------------------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/tests/src/Functional/HtmlTitleViewsTest.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------------------
90 | ERROR | The array declaration extends to column 99 (the limit is 80). The array content should be split up over multiple lines
91 | ERROR | The array declaration extends to column 134 (the limit is 80). The array content should be split up over multiple lines
92 | ERROR | The array declaration extends to column 148 (the limit is 80). The array content should be split up over multiple lines
95 | ERROR | The array declaration extends to column 93 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/html_title/tests/src/Unit/HtmlTitleFilterTest.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
---------------------------------------------------------------------------------------------------------------------------------------
68 | ERROR | The array declaration extends to column 162 (the limit is 80). The array content should be split up over multiple lines
69 | ERROR | The array declaration extends to column 181 (the limit is 80). The array content should be split up over multiple lines
71 | ERROR | The array declaration extends to column 100 (the limit is 80). The array content should be split up over multiple lines
104 | ERROR | The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
105 | ERROR | The array declaration extends to column 199 (the limit is 80). The array content should be split up over multiple lines
107 | ERROR | The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------
Time: 3.07 secs; Memory: 12MB
Steps to reproduce
Run following command
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/html_title/
Proposed resolution
Above error/warnings need to be fixed