Issues reported by phpcs

Created on 9 April 2025, 9 days ago

Problem/Motivation

The pipeline report phpcs errors.

Steps to reproduce

Proposed resolution

FILE: /builds/project/name/web/modules/custom/name/src/NameSettingsForm.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 16 | ERROR | Public method name "NameSettingsForm::getFormID" is not in
    |       | lowerCamel format
    |       | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)
--------------------------------------------------------------------------------
FILE: ...t/name/web/modules/custom/name/src/Traits/NameAdditionalPreferredTrait.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
  83 | ERROR | Doc comment is empty (Drupal.Commenting.DocComment.Empty)
 166 | ERROR | Doc comment is empty (Drupal.Commenting.DocComment.Empty)
 178 | ERROR | Doc comment is empty (Drupal.Commenting.DocComment.Empty)
--------------------------------------------------------------------------------
FILE: .../project/name/web/modules/custom/name/src/Plugin/views/filter/Fulltext.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 134 | ERROR | Public method name "Fulltext::op_contains" is not in lowerCamel
     |       | format
     |       | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)
 147 | ERROR | Public method name "Fulltext::op_word" is not in lowerCamel
     |       | format
     |       | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)
--------------------------------------------------------------------------------
FILE: /builds/project/name/web/modules/custom/name/src/Form/NameFormatForm.php
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
 96 | ERROR | Doc comment is empty (Drupal.Commenting.DocComment.Empty)
------------------------------------------------------------------------------

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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