Coding standard issues

Created on 11 September 2024, 2 months ago
Updated 13 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/scheduled_publish/css/scheduled-publish-widget.css
--------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 14 LINES
--------------------------------------------------------------------------------------------------------
32 | ERROR | [x] Selectors must be on a single line
33 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
33 | ERROR | [x] Selectors must be on a single line
34 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
34 | ERROR | [x] Selectors must be on a single line
35 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
35 | ERROR | [x] Selectors must be on a single line
36 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
36 | ERROR | [x] Selectors must be on a single line
37 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
37 | ERROR | [x] Selectors must be on a single line
38 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
42 | ERROR | [x] Selectors must be on a single line
43 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
43 | ERROR | [x] Selectors must be on a single line
44 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
44 | ERROR | [x] Selectors must be on a single line
45 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
45 | ERROR | [x] Selectors must be on a single line
46 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
46 | ERROR | [x] Selectors must be on a single line
47 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
47 | ERROR | [x] Selectors must be on a single line
48 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------

FILE: .../web/modules/custom/scheduled_publish/src/Commands/ScheduledPublishCommands.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
9 | WARNING | There must be no blank line following an inline comment
-----------------------------------------------------------------------------------------------------------------

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

Needs work

Version

4.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