- Issue created by @abhiyanshu
- Merge request !13Issue #3501667: Removed unused variables and fixed PHPCS issues ā (Open) created by Unnamed author
- šµšPhilippines clarkssquared
Hi nidhish,
I applied MR !13 and executed the PHPCS command, these are the only remaining PHPCS issues in the module after I applied your MR
ā solo git:(main) ā curl https://git.drupalcode.org/project/solo/-/merge_requests/13.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1670 0 1670 0 0 3258 0 --:--:-- --:--:-- --:--:-- 3340 patching file 'includes/_solo_theme_preprocess.inc' patching file 'includes/_theme_settings_helper_functions.inc' patching file theme-settings.php ā solo git:(main) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml solo FILE: /Users/clarksubing-subing/Projects/drupal-issues/drupal-project/web/themes/contrib/solo/solo_subtheme/solo_subtheme.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: /Users/clarksubing-subing/Projects/drupal-issues/drupal-project/web/themes/contrib/solo/solo.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: 4.37 secs; Memory: 26MB ā contrib git:(main) ā
I will leave the decision to the maintainer if this needs to be fixed or no, hence retaining the status to needs review
@clarkssquared, The date stamp, version, project warning is coming because of installing dependencies through composer in your local system. It would not appear in the codebase. Kindly check on https://git.drupalcode.org/issue/solo-3501667/-/blob/3501667-fix-issues-... and https://git.drupalcode.org/issue/solo-3501667/-/blob/3501667-fix-issues-..., you would not find date stamp, version, project in code