Standard coding issue

Created on 27 September 2022, over 2 years ago
Updated 26 February 2025, about 1 month ago

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\commerce_giftcard_mail\commerce_giftcard_mail.module
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
2 | ERROR | [ ] Missing short description in doc comment
6 | WARNING | [x] Unused use statement
10 | ERROR | [x] There must be no blank lines after the function comment
27 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
33 | ERROR | [ ] The array declaration extends to column 195 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\commerce_giftcard_mail\README.md
-----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
-----------------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 124 characters
9 | WARNING | Line exceeds 80 characters; contains 226 characters
13 | WARNING | Line exceeds 80 characters; contains 139 characters
-----------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\commerce_giftcard_mail\src\Plugin\Commerce\EmailEvent\GiftcardActivated.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
------------------------------------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India akshay.kelotra Indore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024