Fix PHPCS, CSpell and other code quality issues

Created on 31 May 2024, 11 months ago
Updated 2 June 2024, 11 months ago

PHPCS - https://git.drupalcode.org/project/menu_css_names/-/jobs/1749484

FILE: ...ect/menu_css_names/web/modules/custom/menu_css_names/menu_css_names.module
--------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------
  3 | ERROR | Missing short description in doc comment
    |       | (Drupal.Commenting.DocComment.MissingShort)
 19 | ERROR | Missing short description in doc comment
    |       | (Drupal.Commenting.DocComment.MissingShort)
 20 | ERROR | Missing parameter comment
    |       | (Drupal.Commenting.FunctionComment.MissingParamComment)
 21 | ERROR | Missing parameter comment
    |       | (Drupal.Commenting.FunctionComment.MissingParamComment)
 54 | ERROR | Missing short description in doc comment
    |       | (Drupal.Commenting.DocComment.MissingShort)
 55 | ERROR | Missing parameter comment
    |       | (Drupal.Commenting.FunctionComment.MissingParamComment)
 55 | ERROR | Missing parameter type
    |       | (Drupal.Commenting.FunctionComment.MissingParamType)
 62 | ERROR | All functions defined in a module file must be prefixed with the
    |       | module's name, found "_make_class_name" but expected
    |       | "menu_css_names__make_class_name"
    |       | (Drupal.NamingConventions.ValidFunctionName.InvalidPrefix)
--------------------------------------------------------------------------------
Time: 106ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
--------------------------------------------------------------------------------
FILE                                                            ERRORS  WARNINGS
--------------------------------------------------------------------------------
...mes/web/modules/custom/menu_css_names/menu_css_names.module  8       0
--------------------------------------------------------------------------------
A TOTAL OF 8 ERRORS AND 0 WARNINGS WERE FOUND IN 1 FILE
--------------------------------------------------------------------------------
PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
----------------------------------------------------------------------
SOURCE                                                           COUNT
----------------------------------------------------------------------
Drupal.Commenting.DocComment.MissingShort                        3
Drupal.Commenting.FunctionComment.MissingParamComment            3
Drupal.Commenting.FunctionComment.MissingParamType               1
Drupal.NamingConventions.ValidFunctionName.InvalidPrefix         1
----------------------------------------------------------------------
A TOTAL OF 8 SNIFF VIOLATIONS WERE FOUND IN 4 SOURCES
----------------------------------------------------------------------

Cspell - https://git.drupalcode.org/project/menu_css_names/-/jobs/1749487

./README.txt:59:4      - Unknown word (Rian)       -- * Rian Callahan (rc_100) -
	 Suggestions: [Iran, Rain, Rial, Roan, Ryan]
./README.txt:60:4      - Unknown word (Neha)       -- * Neha (nehajyoti) - https
	 Suggestions: [neva, Neva, neh, Neh, NEH]
./README.txt:60:10     - Unknown word (nehajyoti)  -- * Neha (nehajyoti) - https://www.drupal
	 Suggestions: []
./README.txt:64:4      - Unknown word (Ashday)     -- * Ashday Interactive Systems
	 Suggestions: [Ashy, Assay, Ashcan, Ashlar, Ashley]
./README.txt:65:4      - Unknown word (Zoocha)     -- * Zoocha - https://www.drupal
	 Suggestions: [Mocha, rocha, Rocha, Zorch, Cooch]
📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom aaron.ferris

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