Problem/Motivation
FILE: ../d10contrib/web/modules/contrib/image_auto_alt_filter/image_auto_alt_filter.info.yml
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 2 found
-------------------------------------------------------------------------------------------------------------------------------
FILE: ../d10contrib/web/modules/contrib/image_auto_alt_filter/src/Plugin/Filter/ImageAutoAlt.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is DonatelloZa\RakePlus\RakePlus.
-----------------------------------------------------------------------------------------------------------------------------------
Time: 91ms; Memory: 10MB
Steps to reproduce
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml "module_path"
Proposed resolution
Resolve the PHPCS issues.
Comments
Comment #2
shyam_bhattHere I am adding a solution patch to fix the above issue.
After applying the patch, run the below code:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml "module_path"It will resolve all the issues from phpcs.
A new sniff added to Coder 8.3.19
Comment #3
shyam_bhattI think the maintainer can use phpcbf and resolve similar issues. Hence, I am closing this issue.