Some coding standard phpcs

Created on 26 March 2020, over 4 years ago
Updated 17 July 2024, 5 months ago

Some coding standard phpcs

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India riddhi.addweb

    The #6 patch was applied cleanly, but still there are some errors of PHPCS showing.

    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/koality_layout_builder_layouts/koality_layout_builder_layouts.info.yml
    -----------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
    -----------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/koality_layout_builder_layouts/src/FourCenterRegions.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    ---------------------------------------------------------------------------------------------------------------
     35 | WARNING | #options values usually have to run through t() for translation
     49 | WARNING | #options values usually have to run through t() for translation
     63 | WARNING | #options values usually have to run through t() for translation
     77 | WARNING | #options values usually have to run through t() for translation
     91 | WARNING | #options values usually have to run through t() for translation
    ---------------------------------------------------------------------------------------------------------------
    
    
    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/koality_layout_builder_layouts/src/OneCenterRegion.php
    -------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -------------------------------------------------------------------------------------------------------------
     34 | WARNING | #options values usually have to run through t() for translation
     49 | WARNING | #options values usually have to run through t() for translation
    -------------------------------------------------------------------------------------------------------------
    
    
    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/koality_layout_builder_layouts/src/TwoCenterRegions.php
    --------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
    --------------------------------------------------------------------------------------------------------------
     36 | WARNING | #options values usually have to run through t() for translation
     50 | WARNING | #options values usually have to run through t() for translation
     64 | WARNING | #options values usually have to run through t() for translation
     85 | WARNING | #options values usually have to run through t() for translation
     86 | WARNING | #options values usually have to run through t() for translation
     87 | WARNING | #options values usually have to run through t() for translation
     88 | WARNING | #options values usually have to run through t() for translation
     89 | WARNING | #options values usually have to run through t() for translation
     90 | WARNING | #options values usually have to run through t() for translation
     91 | WARNING | #options values usually have to run through t() for translation
     92 | WARNING | #options values usually have to run through t() for translation
     93 | WARNING | #options values usually have to run through t() for translation
    --------------------------------------------------------------------------------------------------------------
    
    
    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/koality_layout_builder_layouts/src/ThreeCenterRegions.php
    ----------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    ----------------------------------------------------------------------------------------------------------------
     35 | WARNING | #options values usually have to run through t() for translation
     49 | WARNING | #options values usually have to run through t() for translation
     63 | WARNING | #options values usually have to run through t() for translation
     77 | WARNING | #options values usually have to run through t() for translation
    ----------------------------------------------------------------------------------------------------------------
    
Production build 0.71.5 2024