Fix the issues reported by phpcs

Created on 6 July 2023, almost 2 years ago
Updated 28 September 2023, over 1 year ago

Problem/Motivation

FILE: ...ww/html/vb/d_cont/views_field_entity_label/views_field_entity_label.module
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: .../vb/d_cont/views_field_entity_label/src/Plugin/views/field/EntityLabel.php
--------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 13 LINES
--------------------------------------------------------------------------------
29 | ERROR | [ ] Missing member variable doc comment
31 | ERROR | [ ] Missing member variable doc comment
33 | ERROR | [x] Missing function doc comment
39 | ERROR | [x] Missing function doc comment
42 | ERROR | [x] Expected 1 blank line after function; 2 found
45 | ERROR | [x] Missing function doc comment
52 | ERROR | [x] Missing function doc comment
68 | ERROR | [x] Missing function doc comment
104 | ERROR | [x] Missing function doc comment
106 | ERROR | [x] Missing function doc comment
110 | ERROR | [x] Missing function doc comment
114 | ERROR | [x] Missing function doc comment
118 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 76ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig views_field_entity_label/

Remaining tasks

Patch review

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India urvashi_vora Madhya Pradesh, India

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024