Coding standards issue

Created on 10 January 2025, 3 months ago

Problem/Motivation

FILE: ...entity_cache_rebuild/entity_cache_rebuild.api.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------
16 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters
23 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
23 | ERROR | [ ] Missing parameter type
26 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
26 | ERROR | [x] Data types in @param tags need to be fully namespaced
34 | WARNING | [ ] Only string literals should be passed to t() where possible
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------

FILE: ...entity_cache_rebuild/src/Plugin/Derivative/CacheRebuildLocalTasks.php
--------------------------------------------------------------------------------------------------------------------------------------FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Missing class doc comment
--------------------------------------------------------------------------------------------------------------------------------------PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

FILE: ...entity_cache_rebuild/src/Routing/CacheRebuild.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
10 | ERROR | [x] Missing function doc comment
26 | WARNING | [x] A comma should follow the last multiline array item. Found: 'Cache rebuild'
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------

FILE: ...entity_cache_rebuild/src/Controller/CacheRebuild.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Missing class doc comment
18 | ERROR | [ ] Missing member variable doc comment
20 | ERROR | [x] Missing function doc comment
36 | ERROR | [x] Missing function doc comment
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------

Time: 66ms; Memory: 10MB

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

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