Line exceeds 80 characters

Created on 24 May 2023, over 1 year ago
Updated 13 August 2024, 4 months ago

Problem/Motivation

Fix all Line exceeds 80 characters issues.There are multiple issues with Coding standards.

Proposed resolution

FILE: \web\modules\contrib\overrides_frontpage\README.md
------------------------------------------------------------------------------------
  7 | WARNING | Line exceeds 80 characters; contains 92 characters
 52 | WARNING | Line exceeds 80 characters; contains 387 characters
 58 | WARNING | Line exceeds 80 characters; contains 304 characters
 61 | WARNING | Line exceeds 80 characters; contains 234 characters
 64 | WARNING | Line exceeds 80 characters; contains 235 characters
 67 | WARNING | Line exceeds 80 characters; contains 535 characters
 70 | WARNING | Line exceeds 80 characters; contains 259 characters
 73 | WARNING | Line exceeds 80 characters; contains 125 characters
 76 | WARNING | Line exceeds 80 characters; contains 91 characters
 79 | WARNING | Line exceeds 80 characters; contains 89 characters
 81 | WARNING | Line exceeds 80 characters; contains 303 characters
 83 | WARNING | Line exceeds 80 characters; contains 332 characters
 92 | WARNING | Line exceeds 80 characters; contains 336 characters
------------------------------------------------------------------------------------
FILE: \modules\contrib\overrides_frontpage\src\Config\AuthenticatedFrontpageOverrides.php
------------------------------------------------------------------------------------
  35 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
  76 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
------------------------------------------------------------------------------------

šŸ“Œ Task
Status

RTBC

Component

Code

Created by

šŸ‡®šŸ‡³India Shanu Chouhan

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 @Shanu Chouhan
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • šŸ‡®šŸ‡³India Shanu Chouhan

    Here's a patch for it.

  • Status changed to RTBC 4 months ago
  • šŸ‡µšŸ‡­Philippines cleavinjosh

    Hi @Shanu Chouhan,

    I applied patch #2, it was applied smoothly and fixed all the issues related to the lines exceeding 80 characters.

    āžœ  contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml overrides_frontpage
    
    FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/overrides_frontpage/src/Config/AuthenticatedFrontpageOverrides.php
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
     31 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     37 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     43 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     47 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     61 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    Time: 132ms; Memory: 10MB
    
    āžœ  contrib

    I will now move the status to RTBC since this issue focuses only to the issues related to the lines exceeding 80 characters.

    Thank you.

Production build 0.71.5 2024