Drupal Coding Standard Issue

Created on 13 July 2023, over 1 year ago

Problem/Motivation

FILE: ...modules/contrib/requirement/src/Controller/RequirementReportController.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...rupal9/web/modules/contrib/requirement/src/Annotation/RequirementGroup.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...cms/drupal9/web/modules/contrib/requirement/src/Annotation/Requirement.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...odules/contrib/requirement/src/Plugin/RequirementGroupManagerInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...cms/drupal9/web/modules/contrib/requirement/src/Plugin/RequirementBase.php
--------------------------------------------------------------------------------
FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
   3 | ERROR   | Namespaced classes, interfaces and traits should not begin
     |         |     with a file doc comment
   4 | ERROR   | Doc comment short description must end with a full stop
  27 | WARNING | Unused use statement
  43 | ERROR   | [ ] Class property $requirement_group should use lowerCamel
     |         |     naming without underscores
  59 | ERROR   | Use null coalesce operator instead of ternary operator.
 152 | WARNING | 'TODO: Implement a dependency tree so we can avoid
     |         |     circular dependencies.' should match the format '@todo Fix
     |         |     problem X here.'
--------------------------------------------------------------------------------


FILE: ...rupal9/web/modules/contrib/requirement/src/Plugin/RequirementGroupBase.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...web/modules/contrib/requirement/src/Plugin/RequirementManagerInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...rupal9/web/modules/contrib/requirement/src/Plugin/RequirementInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...ms/drupal9/web/modules/contrib/requirement/src/Plugin/RequirementTrait.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...al9/web/modules/contrib/requirement/src/Plugin/RequirementGroupManager.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...9/web/modules/contrib/requirement/src/Plugin/RequirementGroupInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...drupal9/web/modules/contrib/requirement/src/Plugin/RequirementFormBase.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: .../drupal9/web/modules/contrib/requirement/src/Plugin/RequirementManager.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: .../drupal9/web/modules/contrib/requirement/src/Routing/RequirementRoutes.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------


FILE: ...pal9/web/modules/contrib/requirement/src/Element/RequirementReportPage.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------------
  3 | ERROR   | Namespaced classes, interfaces and traits should not begin
    |         |     with a file doc comment
  4 | ERROR   | Doc comment short description must end with a full stop
 78 | WARNING | Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------


FILE: .../drupal9/web/modules/contrib/requirement/src/Element/RequirementReport.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 3 | ERROR | Namespaced classes, interfaces and traits should not begin
   |       |     with a file doc comment
 4 | ERROR | Doc comment short description must end with a full stop
--------------------------------------------------------------------------------

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India Rohit Rana

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

Comments & Activities

Production build 0.71.5 2024