Missing file doc comment

Created on 3 June 2023, about 1 year ago

Problem/Motivation

Missing file doc comment

Steps to reproduce

Run the command:

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml gtm_barebones/

Proposed resolution

Fix the following coding standards issues and upload the patch.

FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\gtm_barebones\gtm_barebones.module
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
-------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\gtm_barebones\README.md
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
9 | WARNING | Line exceeds 80 characters; contains 90 characters
14 | WARNING | Line exceeds 80 characters; contains 90 characters
--------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\gtm_barebones\src\Hooks\GtmBarebonesHooks.php
------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
101 | ERROR | [x] Missing function doc comment
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------

📌 Task
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India arti_parmar

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

Comments & Activities

Production build 0.69.0 2024