Problem/Motivation
Here is the command to fix phpcs issue:-
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml web/modules/contrib/views_mark_current/
Result:-
FILE: /home/chandansha/docker/testd10/web/modules/contrib/views_mark_current/README.md
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 418 characters
24 | WARNING | Line exceeds 80 characters; contains 85 characters
28 | WARNING | Line exceeds 80 characters; contains 157 characters
32 | WARNING | Line exceeds 80 characters; contains 93 characters
34 | WARNING | Line exceeds 80 characters; contains 192 characters
--------------------------------------------------------------------------------------
FILE: /home/chandansha/docker/testd10/web/modules/contrib/views_mark_current/tests/modules/views_mark_current_test/views_mark_current_test.info.yml
---------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
---------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/chandansha/docker/testd10/web/modules/contrib/views_mark_current/views_mark_current.info.yml
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
-------------------------------------------------------------------------------------------------------------
Time: 119ms; Memory: 10MB
Proposed resolution
Fixed the coding standards.