Problem/Motivation
While running phpcs on cachetag_notify module getting error.
shivsharma@spheresph5031 ~/project/my-drupal10-site $ ./vendor/bin/phpcs --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme,info" web/modules/contrib/cachetag_notify
FILE: /home/shivsharma/project/my-drupal10-site/web/modules/contrib/cachetag_notify/src/CacheTagsInvalidator.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
72 | WARNING | Line exceeds 80 characters; contains 87 characters
----------------------------------------------------------------------------------------------------------------
FILE: /home/shivsharma/project/my-drupal10-site/web/modules/contrib/cachetag_notify/src/Form/CachetagNotifySettingsForm.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------
37 | ERROR | Public method name "CachetagNotifySettingsForm::getFormID" is not in lowerCamel format
88 | ERROR | Doc comment is empty
---------------------------------------------------------------------------------------------------------------------------
Time: 101ms; Memory: 10MB
Steps to reproduce
Execute phpcs on module.
shivsharma@spheresph5031 ~/project/my-drupal10-site $ ./vendor/bin/phpcs --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme,info" web/modules/contrib/cachetag_notify
Proposed resolution
Reslove all PHPCS errors.