Closed (fixed)
Project:
Auto Node Translate
Version:
2.1.4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2023 at 07:45 UTC
Updated:
12 Jun 2025 at 13:12 UTC
Jump to comment: Most recent
t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
Execute the command:- phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig auto_node_translate/
Fix all the issues
and verify it using
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig auto_node_translate/
It should not give any errors.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
urvashi_vora commentedComment #4
hardikpandya commentedThere are no more
t()call issues reported by phpcs. Marking as RTBC!Comment #6
jmauricio commentedChanges merged into 1.0.x
Comment #7
jmauricio commentedComment #8
jmauricio commentedComment #9
jmauricio commented