Line exceeds 80 characters

Created on 10 March 2023, over 1 year ago
Updated 11 March 2023, over 1 year ago

Problem/Motivation

Fix all Line exceeds 80 characters issues.

There are multiple issues with Coding standards.

Steps to reproduce

Clone this repro and run PHPCS

Proposed resolution

Fix all Line exceeds 80 characters issues.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇮🇳India kunal_sahu Karnataka

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 @kunal_sahu
  • 🇮🇳India kunal_sahu Karnataka

    Found this errors related to this module.

    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\coding-xtc\elasticsearch-profile.md
    -----------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
    -----------------------------------------------------------------------------------------------------------------
       7 | WARNING | Line exceeds 80 characters; contains 82 characters
      31 | WARNING | Line exceeds 80 characters; contains 129 characters
      44 | WARNING | Line exceeds 80 characters; contains 84 characters
      73 | WARNING | Line exceeds 80 characters; contains 124 characters
      89 | WARNING | Line exceeds 80 characters; contains 93 characters
     109 | WARNING | Line exceeds 80 characters; contains 123 characters
    -----------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\coding-xtc\file-profile.md
    --------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
    --------------------------------------------------------------------------------------------------------
       5 | WARNING | Line exceeds 80 characters; contains 148 characters
      20 | WARNING | Line exceeds 80 characters; contains 124 characters
      36 | WARNING | Line exceeds 80 characters; contains 93 characters
      54 | WARNING | Line exceeds 80 characters; contains 108 characters
      56 | WARNING | Line exceeds 80 characters; contains 115 characters
      71 | WARNING | Line exceeds 80 characters; contains 87 characters
      90 | WARNING | Line exceeds 80 characters; contains 118 characters
     116 | WARNING | Line exceeds 80 characters; contains 90 characters
    --------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\coding-xtc\guzzle-profile.md
    ----------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
    ----------------------------------------------------------------------------------------------------------
       5 | WARNING | Line exceeds 80 characters; contains 181 characters
      26 | WARNING | Line exceeds 80 characters; contains 155 characters
      27 | WARNING | Line exceeds 80 characters; contains 129 characters
      40 | WARNING | Line exceeds 80 characters; contains 84 characters
      43 | WARNING | Line exceeds 80 characters; contains 120 characters
      68 | WARNING | Line exceeds 80 characters; contains 124 characters
      84 | WARNING | Line exceeds 80 characters; contains 93 characters
     104 | WARNING | Line exceeds 80 characters; contains 123 characters
    ----------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\coding-xtc\request.md
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ---------------------------------------------------------------------------------------------------
      5 | WARNING | Line exceeds 80 characters; contains 155 characters
     17 | WARNING | Line exceeds 80 characters; contains 119 characters
     38 | WARNING | Line exceeds 80 characters; contains 110 characters
    ---------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\coding-xtc\server.md
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES
    --------------------------------------------------------------------------------------------------
      5 | WARNING | Line exceeds 80 characters; contains 147 characters
     20 | WARNING | Line exceeds 80 characters; contains 122 characters
     44 | WARNING | Line exceeds 80 characters; contains 93 characters
     48 | WARNING | Line exceeds 80 characters; contains 81 characters
     55 | WARNING | Line exceeds 80 characters; contains 144 characters
     60 | WARNING | Line exceeds 80 characters; contains 94 characters
     68 | WARNING | Line exceeds 80 characters; contains 103 characters
     70 | WARNING | Line exceeds 80 characters; contains 86 characters
     71 | WARNING | Line exceeds 80 characters; contains 105 characters
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\helpers\plugins-helpers.md
    --------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------------------------------------
      3 | WARNING | Line exceeds 80 characters; contains 83 characters
     11 | WARNING | Line exceeds 80 characters; contains 83 characters
     20 | WARNING | Line exceeds 80 characters; contains 92 characters
     75 | WARNING | Line exceeds 80 characters; contains 101 characters
    --------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\index.md
    --------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
    --------------------------------------------------------------------------------------
     15 | WARNING | Line exceeds 80 characters; contains 89 characters
     21 | WARNING | Line exceeds 80 characters; contains 109 characters
     22 | WARNING | Line exceeds 80 characters; contains 112 characters
     25 | WARNING | Line exceeds 80 characters; contains 86 characters
     52 | WARNING | Line exceeds 80 characters; contains 113 characters
     55 | WARNING | Line exceeds 80 characters; contains 111 characters
    --------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtc.md
    --------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcdrupal.md
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcelastica.md
    ----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    ----------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcelasticsearch.md
    ---------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    ---------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcfile.md
    ------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    ------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcguzzle.md
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcschema.md
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\modules\xtcsearch.md
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     19 | WARNING | Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\plugins\xtc-plugins.md
    ----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
    ----------------------------------------------------------------------------------------------------
     24 | WARNING | Line exceeds 80 characters; contains 97 characters
     31 | WARNING | Line exceeds 80 characters; contains 89 characters
     42 | WARNING | Line exceeds 80 characters; contains 92 characters
     44 | WARNING | Line exceeds 80 characters; contains 122 characters
     54 | WARNING | Line exceeds 80 characters; contains 93 characters
     56 | WARNING | Line exceeds 80 characters; contains 123 characters
    ----------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\plugins\xtcsearchui-plugins.md
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ------------------------------------------------------------------------------------------------------------
      9 | WARNING | Line exceeds 80 characters; contains 93 characters
     20 | WARNING | Line exceeds 80 characters; contains 90 characters
    ------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\search\search-block.md
    ----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
    ----------------------------------------------------------------------------------------------------
       3 | WARNING | Line exceeds 80 characters; contains 98 characters
      41 | WARNING | Line exceeds 80 characters; contains 150 characters
      71 | WARNING | Line exceeds 80 characters; contains 119 characters
     112 | WARNING | Line exceeds 80 characters; contains 88 characters
     117 | WARNING | Line exceeds 80 characters; contains 130 characters
     119 | WARNING | Line exceeds 80 characters; contains 112 characters
     120 | WARNING | Line exceeds 80 characters; contains 117 characters
    ----------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\search\search-display.md
    ------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 14 WARNINGS AFFECTING 14 LINES
    ------------------------------------------------------------------------------------------------------
      12 | WARNING | Line exceeds 80 characters; contains 148 characters
      32 | WARNING | Line exceeds 80 characters; contains 94 characters
      35 | WARNING | Line exceeds 80 characters; contains 162 characters
      54 | WARNING | Line exceeds 80 characters; contains 112 characters
      73 | WARNING | Line exceeds 80 characters; contains 93 characters
      89 | WARNING | Line exceeds 80 characters; contains 140 characters
      92 | WARNING | Line exceeds 80 characters; contains 88 characters
      99 | WARNING | Line exceeds 80 characters; contains 93 characters
     228 | WARNING | Line exceeds 80 characters; contains 102 characters
     240 | WARNING | Line exceeds 80 characters; contains 137 characters
     256 | WARNING | Line exceeds 80 characters; contains 112 characters
     271 | WARNING | Line exceeds 80 characters; contains 93 characters
     285 | WARNING | Line exceeds 80 characters; contains 140 characters
     288 | WARNING | Line exceeds 80 characters; contains 88 characters
    ------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\search\search-page.md
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------
      76 | WARNING | Line exceeds 80 characters; contains 150 characters
     149 | WARNING | Line exceeds 80 characters; contains 127 characters
    ---------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\search\search-profile.md
    ------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 15 WARNINGS AFFECTING 15 LINES
    ------------------------------------------------------------------------------------------------------
      12 | WARNING | Line exceeds 80 characters; contains 141 characters
      79 | WARNING | Line exceeds 80 characters; contains 93 characters
     121 | WARNING | Line exceeds 80 characters; contains 90 characters
     127 | WARNING | Line exceeds 80 characters; contains 95 characters
     130 | WARNING | Line exceeds 80 characters; contains 95 characters
     134 | WARNING | Line exceeds 80 characters; contains 90 characters
     137 | WARNING | Line exceeds 80 characters; contains 95 characters
     140 | WARNING | Line exceeds 80 characters; contains 95 characters
     152 | WARNING | Line exceeds 80 characters; contains 96 characters
     197 | WARNING | Line exceeds 80 characters; contains 99 characters
     209 | WARNING | Line exceeds 80 characters; contains 115 characters
     211 | WARNING | Line exceeds 80 characters; contains 108 characters
     227 | WARNING | Line exceeds 80 characters; contains 103 characters
     241 | WARNING | Line exceeds 80 characters; contains 86 characters
     243 | WARNING | Line exceeds 80 characters; contains 109 characters
    ------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\using-xtc\load-content.md
    -------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -------------------------------------------------------------------------------------------------------
     36 | WARNING | Line exceeds 80 characters; contains 99 characters
     91 | WARNING | Line exceeds 80 characters; contains 108 characters
    -------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\help\docs\using-xtc\override-profile.md
    -----------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------
     26 | WARNING | Line exceeds 80 characters; contains 81 characters
    -----------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\xampp\htdocs\contributions\web\modules\contrib\xtc-3347143\README.md
    -----------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -----------------------------------------------------------------------------
      6 | WARNING | Line exceeds 80 characters; contains 90 characters
     15 | WARNING | Line exceeds 80 characters; contains 116 characters
    -----------------------------------------------------------------------------
    
    

    Will create an MR and Fix these Coding standards issue.

    Thanks

  • Status changed to Active over 1 year ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    Since there is no patches and no MRs that needs to be corrected, the status is still Active.

  • 🇮🇳India kunal_sahu Karnataka

    Hi Apaderno ,

    just solved all PHPCS issues for https://www.drupal.org/project/xtc/issues/3347143 📌 Fix the issues reported by phpcs Needs review

    Once it is merged , will work on this issue.

    Thanks

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    @kunal_sahu A separate issue is not necessary, since the other issue should already take care of all the lines exceeding 80 characters.

  • Status changed to Closed: duplicate over 1 year ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
Production build 0.71.5 2024