Fix Drupal Coding Standards at CSS file

Created on 5 April 2023, about 1 year ago
Updated 6 April 2023, about 1 year ago

Problem/Motivation

Running the Drupal Coding Standards at CSS file we get few errors to be adjusted

FILE:ebt_image_gallery/css/ebt_image_gallery.css
-------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 17 LINES
-------------------------------------------------------------------------------------------------------------
  10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
  45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
  66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
  87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
 107 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
 111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
 113 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
 118 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
 124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
 130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
 137 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
 147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
 149 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
 154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
 160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
 167 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
 174 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------------------------------

Steps to reproduce

  1. Access the root directory
  2. Run the command phpcs --standard=Drupal ebt_image_gallery/css/ebt_image_gallery.css
  3. The full list will be displayed

Proposed resolution

We can fix that manually or using the the phpcs with cbf command

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡§πŸ‡·Brazil RenatoG Campinas

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

Comments & Activities

Production build 0.69.0 2024