Fix the issues reported by phpcs

Created on 6 July 2023, over 1 year ago
Updated 5 October 2023, about 1 year ago

Problem/Motivation

FILE: /var/www/html/vb/d_cont/tarte_au_citron_twitteruwt/README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
37 | WARNING | Line exceeds 80 characters; contains 106 characters
39 | WARNING | Line exceeds 80 characters; contains 103 characters
40 | WARNING | Line exceeds 80 characters; contains 87 characters
----------------------------------------------------------------------

FILE: ..._cont/tarte_au_citron_twitteruwt/src/Plugin/tarte_au_citron/Twitteruwt.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
29 | ERROR | [x] Expected 1 blank line before function; 2 found
31 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
32 | ERROR | [x] Array closing indentation error, expected 4 spaces but found
| | 6
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 55ms; Memory: 8MB

Steps to reproduce

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

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