Coding standards issue

Created on 3 January 2025, 4 months ago

Problem/Motivation

FILE: ...display_link_plus/src/Plugin/views/area/DisplayLinkPlus.php
--------------------------------------------------------------------------------------------------------------------------------------FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
-------------------------------------------------------------------------------------------------------------------------------------- 44 | ERROR | [ ] Parameter $current_user is not described in comment
98 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
102 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
117 | WARNING | [ ] Avoid backslash escaping in translatable strings when possible, use "" quotes instead
121 | WARNING | [x] 'TODO: allow for multiple classes.' should match the format '@todo Fix problem X here.'
225 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
275 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------------------------------------------------------------PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

Time: 166ms; Memory: 10MB

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇨🇴Colombia kinyein

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