FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\sms_every8d\sms_every8d.install
-----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
-----------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------
FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\sms_every8d\src\Plugin\SmsGateway\Every8d.php
-------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
14 | ERROR | [ ] Missing short description in doc comment
72 | ERROR | [ ] Doc comment short description must start with a capital letter
72 | ERROR | [ ] Doc comment short description must end with a full stop
-------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpcs-drupal-standard-3295435-2.patch | 928 bytes | Harsh panchal |
Comments
Comment #2
Harsh panchal commentedI have fixed phpcs coding standard issue and providing a patch.
Comment #3
atul_ghate commentedHi,
I will review this patch
Comment #4
gloomcheng commentedThanks @harsh-panchal.
First, I found that the error on the send function was typo (inheritdoc instead of inhertidoc); second, I ran phpcs for .install file without any error.
Comment #6
gloomcheng commentedComment #7
gloomcheng commented