Fix Coding standards

Created on 28 November 2023, 7 months ago
FILE: /modules/contrib/entity_search_autoindex/entity_search_autoindex.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
--------------------------------------------------------------------------------------------------------------


FILE: /modules/contrib/entity_search_autoindex/src/Helper/BundleFormHelper.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------
 539 | ERROR | The array declaration extends to column 101 (the limit is 80). The array content should be split up over multiple lines
🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

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

Comments & Activities

  • Issue created by @aman_lnwebworks
  • 🇲🇩Moldova andrei.vesterli Chisinau

    Hi @aman_lnwebworks

    1. You should not download the module from the module page and then run the phpcs because this is irrelevant:

    FILE: /modules/contrib/entity_search_autoindex/entity_search_autoindex.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
    --------------------------------------------------------------------------------------------------------------
    

    You need to clone it via git git clone git@git.drupal.org:project/entity_search_autoindex.git then, run the phpcs

    2. I've run this command: vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/custom/entity_search_autoindex
    and there are no any issues. Make sure that you have the latest installed coder module and the required vendors on your machine.

    3. My requisites

    Drupal version   : 10.1.6
    PHP version        : 8.2.11
    

    :

  • Status changed to Closed: cannot reproduce 7 months ago
Production build 0.69.0 2024