Missing short description in doc comment

Created on 30 May 2023, over 1 year ago
Updated 18 June 2023, over 1 year ago

Problem/Motivation

Remove all issues Missing short description in doc comment

Steps to reproduce

Run the command:

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

Proposed resolution

Fix the following coding standards issues and upload the patch or create an MR with fixes.

FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\instagram_posts_block\instagram_posts_block.module
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3 | ERROR | Missing short description in doc comment
47 | ERROR | All functions defined in a module file must be prefixed with the module's name, found "get_refreshed_access_token" but expected "instagram_posts_block_get_refreshed_access_token"
70 | WARNING | Line exceeds 80 characters; contains 83 characters
72 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\modules\contrib\instagram_posts_block\README.txt
-----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 169 characters
8 | WARNING | Line exceeds 80 characters; contains 85 characters
21 | WARNING | Line exceeds 80 characters; contains 82 characters
23 | WARNING | Line exceeds 80 characters; contains 82 characters
25 | WARNING | Line exceeds 80 characters; contains 138 characters
-----------------------------------------------------------------------------------

📌 Task
Status

Closed: duplicate

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.71.5 2024