Coding standard issues

Created on 11 October 2024, about 1 month ago

Problem/Motivation

FILE: .../web/modules/custom/floating_block/tests/modules/floating_block_test/css/floating_block_test.css
----------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------------------
34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
34 | ERROR | [ ] No style definition found on line; check for missing colon
35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
35 | ERROR | [ ] No style definition found on line; check for missing colon
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
36 | ERROR | [ ] No style definition found on line; check for missing colon
----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------

FILE: .../web/modules/custom/floating_block/tests/src/Unit/HelperTest.php
----------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------
6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\floating_block\Helper.
----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------

Steps to reproduce

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml .

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ต๐Ÿ‡ชPeru alyaj2a

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024