FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\zammad_webform_handler\src\Form\SettingsForm.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"
86 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\zammad_webform_handler\src\Plugin\WebformHandler\ZammadWebformHandler.php
----------------------------------------------------------------------------------------------------------------------------
FOUND 22 ERRORS AND 12 WARNINGS AFFECTING 28 LINES
----------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
131 | ERROR | [ ] Comment indentation error, expected only 1 spaces
196 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters
197 | ERROR | [ ] Comment indentation error, expected only 1 spaces
200 | WARNING | [ ] Line exceeds 80 characters; contains 179 characters
202 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters
203 | ERROR | [ ] Comment indentation error, expected only 1 spaces
205 | WARNING | [ ] Line exceeds 80 characters; contains 126 characters
208 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
209 | ERROR | [ ] Comment indentation error, expected only 1 spaces
213 | ERROR | [ ] Comment indentation error, expected only 3 spaces
221 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
222 | ERROR | [ ] Comment indentation error, expected only 1 spaces
260 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
658 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters
658 | ERROR | [ ] Comment indentation error, expected only 1 spaces
659 | ERROR | [ ] Comment indentation error, expected only 3 spaces
663 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
663 | ERROR | [ ] Comment indentation error, expected only 1 spaces
664 | ERROR | [ ] Comment indentation error, expected only 3 spaces
668 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
668 | ERROR | [ ] Comment indentation error, expected only 1 spaces
669 | ERROR | [ ] Comment indentation error, expected only 3 spaces
673 | ERROR | [ ] Comment indentation error, expected only 1 spaces
802 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters
802 | ERROR | [ ] Comment indentation error, expected only 1 spaces
803 | ERROR | [ ] Comment indentation error, expected only 3 spaces
807 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
807 | ERROR | [ ] Comment indentation error, expected only 1 spaces
808 | ERROR | [ ] Comment indentation error, expected only 3 spaces
812 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
812 | ERROR | [ ] Comment indentation error, expected only 1 spaces
813 | ERROR | [ ] Comment indentation error, expected only 3 spaces
817 | ERROR | [ ] Comment indentation error, expected only 1 spaces
----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\zammad_webform_handler\tests\src\Functional\ZammadWebformHandlerFunctionalTest.php
-------------------------------------------------------------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Drupal-standard-cooding-3299941-2.patch | 8.63 KB | Harsh panchal |
Comments
Comment #2
Harsh panchal commentedI have fixed this and providing a patch.
Comment #3
grevil commentedThank you for the fixes, but it is not needed until #3298775: Optional Ticket Settings are not tested and are very likely to not work properly is fixed.
Comment #4
grevil commented