Fix the issues reported by phpcs

Created on 27 March 2024, 9 months ago

Problem/Motivation

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

FILE: /var/www/html/drupal-contri-d10/modules/contrib/magnify/magnify.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: 139ms; Memory: 10MB

Proposed resolution

Fixed the coding standards.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India bhaveshdas

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

    hello

    Could you please review it.

    Thankyou !!

  • Status changed to Needs review 9 months ago
  • Status changed to Closed: outdated 9 months ago
  • 🇧🇪Belgium ScriptCircle

    this is not an issue Drupal adds this metadata automatically. i guess you have just download the zip and run the phpcs,
    This is not how it works
    go to the repo gitlab and clone the project and do your check. This is how it should be run
    i'm closing this

    have a nice day

Production build 0.71.5 2024