Coding standard issues

Created on 12 September 2024, 2 months ago
Updated 16 September 2024, 2 months ago

Problem/Motivation

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

FILE: .../web/modules/custom/linkpurpose/library/css/linkpurpose.css
---------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------
46 | ERROR | [x] Multiple selectors should each be on a single line
46 | ERROR | [x] Multiple selectors should each be on a single line
47 | ERROR | [x] Multiple selectors should each be on a single line
47 | ERROR | [x] Multiple selectors should each be on a single line
48 | ERROR | [x] Multiple selectors should each be on a single line
48 | ERROR | [x] Multiple selectors should each be on a single line
49 | ERROR | [x] Multiple selectors should each be on a single line
49 | ERROR | [x] Multiple selectors should each be on a single line
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: .../web/modules/custom/linkpurpose/linkpurpose.links.menu.yml
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------------
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,twig .

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Bugs

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