Drupal Coding Standard Issue

Created on 5 July 2022, over 2 years ago
Updated 16 January 2023, about 2 years ago

$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml acquia_cms_toolbar_gin/

FILE: C:\xampp\htdocs\contribution\web\modules\contrib\acquia_cms_toolbar_gin\acquia_cms_toolbar_gin.module
-------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 2 WARNINGS AFFECTING 9 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------
4 | ERROR | [x] The second line in the file doc comment must be "@file"
6 | ERROR | [x] Inline comments must start with a capital letter
7 | ERROR | [ ] Comment indentation error, expected only 1 spaces
11 | ERROR | [ ] Comment indentation error, expected only 3 spaces
14 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
21 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
28 | WARNING | [x] There must be no blank line following an inline comment
28 | ERROR | [x] Inline comments must start with a capital letter
28 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
30 | ERROR | [x] 3 spaces found before inline comment; expected "// // Conditionally remove an asset." but found "// // Conditionally remove an asset."
32 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
32 | ERROR | [ ] Comment indentation error, expected only 3 spaces
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 190ms; Memory: 8MB

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Rakhi Soni

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