Fix the issues reported by phpcs

Created on 27 March 2024, 3 months ago

Problem/Motivation

Here is the command to fix phpcs issue:-
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml web/modules/contrib/structure_sync/

FILE: /home/chandansha/docker/testd10/web/modules/contrib/structure_sync/README.md
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------
 4 | WARNING | Line exceeds 80 characters; contains 82 characters
----------------------------------------------------------------------------------


FILE: /home/chandansha/docker/testd10/web/modules/contrib/structure_sync/structure_sync.info.yml
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
-------------------------------------------------------------------------------------------------------------

Time: 611ms; Memory: 14MB

Proposed resolution

Fixed the coding standards.

📌 Task
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

🇮🇳India Chandansha

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024