Drupal Coding Standard Issue

Created on 19 July 2022, over 2 years ago
Updated 22 April 2023, over 1 year ago

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

FILE: C:\Users\SI-001\Downloads\bootstrap_flag_icons\bootstrap_flag_icons.module
--------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------------
15 | ERROR | [x] Comma not allowed after last value in single-line array declaration
15 | ERROR | [x] Expected one space after the comma, 0 found
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------

FILE: C:\Users\SI-001\Downloads\bootstrap_flag_icons\css\bootstrap-flag-icons.css
---------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------
1 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------

Time: 192ms; 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