Fix the issues reported by phpcs

Created on 7 July 2023, 12 months ago
Updated 9 July 2023, 12 months ago

Problem/Motivation

FILE: /var/www/html/vb/d_cont/link_selection_handler/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 164 characters
4 | WARNING | Line exceeds 80 characters; contains 144 characters
6 | WARNING | Line exceeds 80 characters; contains 99 characters
----------------------------------------------------------------------

FILE: ...ar/www/html/vb/d_cont/link_selection_handler/link_selection_handler.module
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 93ms; 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 link_selection_handler/

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

  • Issue created by @urvashi_vora
  • Status changed to RTBC 12 months ago
  • 🇧🇪Belgium Frederikvho Belgium

    Hi,

    I applied the patch from the issue summary and ran PHPCS again. It threw no more warnings/errors. So this looks good.

     (base) ➜  link_selection_handler git:(1.0.x) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .
    (base) ➜  link_selection_handler git:(1.0.x) ✗
    
Production build 0.69.0 2024