- Issue created by @sidharth_soman
- @sidharth_soman opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:04am 4 July 2023 - Status changed to RTBC
over 1 year ago 1:26am 5 July 2023 - 🇦🇷Argentina Zarpele
The MR solves the cs issues. Please add the command that you are executing in these kinds of issues.
Before:
zarpele@machine:~/www/drupal/drupaltest-0623/web/modules/contrib/save_all_nodes (1.x)$ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,in,install,test,profile,theme,css,info,txt,md,yml . FILE: /www/drupal/drupaltest-0623/web/modules/contrib/save_all_nodes/src/Commands/SaveAllNodesCommands.php ----------------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------- 10 | WARNING | [x] Unused use statement 24 | ERROR | [x] Data types in @var tags need to be fully namespaced 26 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements ----------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------- Time: 109ms; Memory: 10MB
After (Empty results):
zarpele@machine:~/www/drupal/drupaltest-0623/web/modules/contrib/save_all_nodes (3372194-minor-phpcs-issues)$ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,in,install,test,profile,theme,css,info,txt,md,yml .
- 🇮🇳India sidharth_soman Bangalore
Updated the summary with the command used.
- Status changed to Needs work
over 1 year ago 1:32pm 19 July 2023 - Status changed to Needs review
over 1 year ago 7:14am 26 July 2023 - 🇮🇳India mrinalini9 New Delhi
Added patch for 2.x branch, please review it.
Thanks!
- Status changed to RTBC
over 1 year ago 4:59pm 28 July 2023 - 🇵🇭Philippines roberttabigue
Hi,
I reviewed the changes and confirmed that Patch#8 was applied cleanly to the Save All Nodes module against 2.x-dev on Drupal 9.5.10.
Checking patch src/Commands/SaveAllNodesCommands.php... Applied patch src/Commands/SaveAllNodesCommands.php cleanly.
And all PHPCS errors have been fixed.
I ran this command on the module:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig save_all_nodes/
Please see the attached files for reference.
I'm moving this now to RTBC.
Thank you!