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
-------------------------------------------------------------------------------------------------

Comments

Harsh panchal created an issue. See original summary.

Harsh panchal’s picture

Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new928 bytes

I have fixed phpcs coding standard issue and providing a patch.

atul_ghate’s picture

Assigned: Harsh panchal » atul_ghate

Hi,
I will review this patch

gloomcheng’s picture

Thanks @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.

gloomcheng’s picture

Assigned: atul_ghate » gloomcheng
Status: Needs review » Fixed
gloomcheng’s picture

Version: » 1.0.x-dev
Status: Fixed » Closed (fixed)