Problem/Motivation
FILE: /Users/roberttabigue/Projects/drupalorgissues/docroot/modules/contrib/menu_link_clone/tests/src/Functional/MenuLinkCloneTest.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------
77 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------
Steps to reproduce
Please execute this command on the module:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig menu_link_clone
Comments
Comment #4
nitin_lamaComment #5
nitin_lamaComment #6
nitin_lamaComment #7
roberttabigue commentedHi,
I reviewed the changes and confirmed the Patch was applied cleanly to the Menu Link Clone module against 8.x-3.2 on Drupal 9.5.10.
And all PHPCS errors have been fixed.
I re-ran this command on the module:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig menu_link_clone-3376139/Please see the attached file for reference.
I'm moving this now to RTBC.
Thank you!
Comment #8
vsujeetkumar commentedThanks everyone to participate and fix this issue.
Comment #9
vsujeetkumar commentedComment #10
vsujeetkumar commented