Fix the issues reported by phpcs

Created on 7 July 2023, over 1 year ago
Updated 19 July 2023, over 1 year ago

Problem/Motivation

FILE: /var/www/html/vb/d_cont/virtual_select/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
17 | WARNING | Line exceeds 80 characters; contains 81 characters
19 | WARNING | Line exceeds 80 characters; contains 99 characters
28 | WARNING | Line exceeds 80 characters; contains 90 characters
39 | WARNING | Line exceeds 80 characters; contains 81 characters
48 | WARNING | Line exceeds 80 characters; contains 89 characters
----------------------------------------------------------------------

FILE: ...ml/vb/d_cont/virtual_select/src/Plugin/Field/FieldWidget/VirtualSelect.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
33 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced
| | with use statements
44 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced
| | with use statements
75 | ERROR | [x] Expected 1 blank line after function; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 86ms; 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 virtual_select/

Remaining tasks

Patch review

📌 Task
Status

Closed: outdated

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