Phpcs coding standard

Created on 19 March 2021, over 3 years ago
Updated 24 March 2023, over 1 year ago
FILE: /home/sahana/Sites/contribution/web/modules/contrib/uuid_extra/src/Plugin/Field/FieldFormatter/UuidFieldFormatter.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------
 21 | ERROR | [x] Whitespace found at end of line
 25 | ERROR | [x] Expected 1 blank line before function; 2 found
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------


FILE: /home/sahana/Sites/contribution/web/modules/contrib/uuid_extra/src/Plugin/Field/FieldWidget/UuidFieldWidget.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------
 38 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
 53 | ERROR | [x] Missing function doc comment
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------


FILE: /home/sahana/Sites/contribution/web/modules/contrib/uuid_extra/uuid_extra.module
----------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------
  1 | ERROR | [x] Missing file doc comment
 10 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------

Time: 109ms; Memory: 8MB
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Sahana _N

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

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