Coding standards issue

Created on 31 January 2025, 5 days ago

Problem/Motivation

FILE: ...cmlstarter/cmlstarter.views.inc
------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------

FILE: ...cmlstarter/src/Plugin/views/argument/IndexTidProductDepth.php
--------------------------------------------------------------------------------------------------------------------------------------FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement
27 | ERROR | [ ] Missing short description in doc comment
28 | ERROR | [x] Data types in @var tags need to be fully namespaced
35 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------------------------------------------------------------PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

FILE: ...cmlstarter/src/Plugin/views/filter/TaxonomyIndexProductTidDepth.php
--------------------------------------------------------------------------------------------------------------------------------------FOUND 5 ERRORS AFFECTING 5 LINES
-------------------------------------------------------------------------------------------------------------------------------------- 21 | ERROR | [x] Missing function doc comment
27 | ERROR | [x] Missing function doc comment
36 | ERROR | [x] Missing function doc comment
54 | ERROR | [x] Missing function doc comment
77 | ERROR | [ ] Comment indentation error, expected only 1 spaces
--------------------------------------------------------------------------------------------------------------------------------------PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

FILE: ...cmlstarter/src/Controller/TaxonomyTermController.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------
12 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
14 | ERROR | [ ] Missing short description in doc comment
17 | ERROR | [ ] Class property $term_display_manager should use lowerCamel naming without underscores
21 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
21 | ERROR | [ ] Missing parameter comment
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------

Time: 94ms; 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