FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\grid_widget\css\form--checkboxes.css
----------------------------------------------------------------------------------------
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: D:\xampp\htdocs\drupal9.5\web\modules\contrib\grid_widget\css\form--radios.css
------------------------------------------------------------------------------------
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: D:\xampp\htdocs\drupal9.5\web\modules\contrib\grid_widget\grid_widget.module
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
19 | ERROR | [ ] The array declaration extends to column 770 (the limit is 80). The array content should be split up over multiple lines
------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------
FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\grid_widget\src\Plugin\Field\FieldWidget\OptionsGridWidget.php
------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
32 | WARNING | [x] A comma should follow the last multiline array item. Found: 3
------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpcs-drupal-coding-standard-3295427-2.patch | 2.43 KB | Harsh panchal |
| #4 | Screenshot from 2022-07-12 11-26-21.png | 69.91 KB | akshaydalvi212 |
Comments
Comment #2
Harsh panchal commentedI have fixed phpcs standard issue and providing a patch.
Comment #3
akshaydalvi212 commentedHello Harsh panchal,
I will review this patch.
Thanks & Regards
Comment #4
akshaydalvi212 commentedHello Harsh panchal,
After applying the patch, still getting some warnings as follows:

I will resolve the remaining warnings and will provide updated patch for the same.
Thanks and regards.
Comment #5
akshaydalvi212 commentedComment #6
akshaydalvi212 commentedHello all,
providing the updated patch, which resolved the above mention warnings.
kindly review the same and provide your feedback on same.
Thanks & regards.
Comment #7
Harsh panchal commentedHi @akshaydalvi212
I have also created a new issue and his patch for #4 comment warnings please check.#4 was a Drupal--standardpractice warnings issue.Thanks
Comment #8
akshaydalvi212 commentedHi @Harsh panchal,
ideally, we can make a single patch and solve all the errors and warnings related to Drupal standard and DrupalPractice standard.
but, you have already created another issue, we can go further with your approach.
I will review that issue and will switch this issue to Reviewed and tested by community status.
Thanks and regards.
Comment #9
akshaydalvi212 commentedComment #10
akshaydalvi212 commentedComment #12
littlecodingTranslation warning/error are going to be handled in their own issue https://www.drupal.org/project/grid_widget/issues/3295428
Comment #13
Nisha.Jain commentedThanks Harsh,Your patch worked for me..