Drupal Coding Standard Issue

Created on 21 July 2022, over 2 years ago
Updated 10 October 2023, about 1 year ago

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

FILE: C:\Users\SI-001\Downloads\facebook_block\src\Plugin\Block\FacebookBlock.php
----------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement
8 | WARNING | [x] Unused use statement
8 | ERROR | [x] There must be one blank line after the last USE statement; 0 found;
82 | ERROR | [x] Concat operator must be surrounded by a single space
97 | ERROR | [x] Concat operator must be surrounded by a single space
98 | ERROR | [x] Concat operator must be surrounded by a single space
98 | ERROR | [x] Concat operator must be surrounded by a single space
----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------

Time: 3.78 secs; 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