Fix the issues reported by phpcs

Created on 2 July 2024, 5 months ago

Problem/Motivation

command -:
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/twig_tweak/

FILE: /var/www/html/d10/web/modules/contrib/twig_tweak/docs/migration-to-3.x.md
-------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------
39 | WARNING | Line exceeds 80 characters; contains 210 characters
-------------------------------------------------------------------------------

FILE: /var/www/html/d10/web/modules/contrib/twig_tweak/docs/cheat-sheet.md
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 20 WARNINGS AFFECTING 20 LINES
--------------------------------------------------------------------------
8 | WARNING | Line exceeds 80 characters; contains 101 characters
13 | WARNING | Line exceeds 80 characters; contains 84 characters
31 | WARNING | Line exceeds 80 characters; contains 90 characters
36 | WARNING | Line exceeds 80 characters; contains 134 characters
37 | WARNING | Line exceeds 80 characters; contains 91 characters
85 | WARNING | Line exceeds 80 characters; contains 101 characters
86 | WARNING | Line exceeds 80 characters; contains 154 characters
87 | WARNING | Line exceeds 80 characters; contains 99 characters
89 | WARNING | Line exceeds 80 characters; contains 97 characters
92 | WARNING | Line exceeds 80 characters; contains 111 characters
122 | WARNING | Line exceeds 80 characters; contains 113 characters
124 | WARNING | Line exceeds 80 characters; contains 88 characters
162 | WARNING | Line exceeds 80 characters; contains 148 characters
168 | WARNING | Line exceeds 80 characters; contains 86 characters
200 | WARNING | Line exceeds 80 characters; contains 89 characters
205 | WARNING | Line exceeds 80 characters; contains 82 characters
281 | WARNING | Line exceeds 80 characters; contains 88 characters
294 | WARNING | Line exceeds 80 characters; contains 162 characters
296 | WARNING | Line exceeds 80 characters; contains 104 characters
372 | WARNING | Line exceeds 80 characters; contains 84 characters
--------------------------------------------------------------------------

FILE: /var/www/html/d10/web/modules/contrib/twig_tweak/docs/blocks.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
20 | WARNING | Line exceeds 80 characters; contains 109 characters
58 | WARNING | Line exceeds 80 characters; contains 81 characters
108 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------

Steps to reproduce

Run PHPCS on Config Pages module.

Proposed resolution

Fixed the coding standards.

Remaining tasks

Submit the patch either MR.

📌 Task
Status

Needs review

Version

3.3

Component

Code

Created by

🇮🇳India hetal.solanki

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024