Coding Standards

Created on 25 March 2025, 10 days ago

Problem/Motivation

Running PHPCS shows the warnings/errors in attached file, which should be fixed.

check for any other Coding standards

📌 Task
Status

Active

Version

1.26

Component

Code

Created by

🇮🇳India GGH

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

Merge Requests

Comments & Activities

  • Issue created by @GGH
  • First commit to issue fork.
  • Merge request !57Issue #3515222: Coding Standards → (Open) created by adwivedi008
  • 🇮🇳India adwivedi008

    Hello @GGH

    I have checked the error reported by PHPCS and have applied automated fixes

    It still needs work as some of the issues remaining

    Please review and suggest if any other changes are required
    I have tested using the following command

    phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ./
    
  • Pipeline finished with Success
    10 days ago
    Total: 212s
    #456869
  • Pipeline finished with Success
    10 days ago
    Total: 253s
    #456884
  • Pipeline finished with Success
    10 days ago
    Total: 226s
    #456911
  • Pipeline finished with Success
    10 days ago
    Total: 161s
    #456950
  • Pipeline finished with Success
    10 days ago
    Total: 156s
    #456956
  • 🇮🇳India GGH

    PHPCS and PHPSTAN are pending

    • johnv committed 148ca212 on 8.x-1.x
      Issue #3515222 by ggh, adwivedi008: Coding Standards
      
  • 🇳🇱Netherlands johnv

    Thanks for your efforts. I will keep this issue open for the upcoming contributions.
    I did not take over all changes.
    I did not update the .js file, since the changes do corrupt the functionality. Please test before contributing.

Production build 0.71.5 2024