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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3166715-t-calls-should-be-avoided.patch | 1.79 KB | poorva |
Comments
Comment #2
poorva commentedComment #3
poorva commentedComment #5
fabiansierra5191 commentedThanks, 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.
Comment #6
fabiansierra5191 commentedComment #7
poorva commentedThanks Fabian :)