Problem/Motivation
Getting following error/warnings
FILE: /var/www/html/modules/contrib/restrict_password_change/restrict_password_change.info.yml
----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------
FILE: /var/www/html/modules/contrib/restrict_password_change/restrict_password_change.module
--------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------
9 | ERROR | [x] PHP keywords must be lowercase; expected "use" but found "Use"
83 | ERROR | [ ] Unnecessarily gendered language in a comment
88 | ERROR | [x] Space after closing parenthesis of function call prohibited
88 | ERROR | [x] Space found before semicolon; expected ");" but found ") ;"
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------
Time: 1.07 secs; Memory: 6MB
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/restrict_password_change/
Proposed resolution
Above error/warnings need to be fixed