Problem/Motivation
FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\many_selects\many_selects.module
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------
FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\many_selects\src\Plugin\Field\FieldWidget\OptionsManySelectWidget.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
76 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces, found 4
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------
Steps to reproduce
Install Many selects module and perform PHPCS for Drupal Standards
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig,js
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes