FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------
149 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
152 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
226 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
234 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
237 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead

CommentFileSizeAuthor
#2 3166715-t-calls-should-be-avoided.patch1.79 KBpoorva

Comments

poorva created an issue. See original summary.

poorva’s picture

StatusFileSize
new1.79 KB
poorva’s picture

Status: Active » Needs review

fabiansierra5191’s picture

Status: Needs review » Fixed

Thanks, Poorva,

I'm not sure how I haven't noticed this :). Thanks.
The fix is on dev branch (1.0.x) and It will be included in the next release, so if you or somebody else need this fix, please use the dev version or apply the Poorva's patch.

fabiansierra5191’s picture

Status: Fixed » Closed (fixed)
poorva’s picture

Thanks Fabian :)