Drupal Coding Standard Issue

Created on 16 July 2022, over 2 years ago
Updated 25 July 2023, over 1 year ago

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

FILE: C:\Users\SI-001\Downloads\footnotes\footnotes.module
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
40 | ERROR | [x] Expected 1 space before "=>"; 0 found
44 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: C:\Users\SI-001\Downloads\footnotes\tests\src\FunctionalJavascript\FootnotesCkeditorPluginTest.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | [x] Opening brace should be on the same line as the declaration
48 | ERROR | [ ] The array declaration extends to column 102 (the limit is 80). The array content should be split up over multiple lines
54 | ERROR | [x] Opening brace should be on the same line as the declaration
66 | WARNING | [x] A comma should follow the last multiline array item. Found: 0
130 | ERROR | [x] Opening brace should be on the same line as the declaration
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------

Time: 360ms; Memory: 10MB

📌 Task
Status

RTBC

Version

2.0

Component

Footnotes

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