Bug Drupal Coding Standard

Created on 15 May 2022, almost 3 years ago
Updated 28 February 2025, about 1 month ago

Hi @mrweiner
I have check coding standard for module. You can check and fix it.

$  phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/enum_generator

FILE: C:\Ampps\www\Test-Drupal-Buiding\web\modules\contrib\enum_generator\src\Form\TaxonomyGeneratorForm.php
------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  6 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
 16 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
 43 | ERROR | [ ] Missing short description in doc comment
------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------

Time: 245ms; Memory: 8MB

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡»πŸ‡³Vietnam LuongGiap

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024