FILE: ...es/contrib/menu_multilingual/tests/src/Functional/MenuMultilingualTest.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------
455 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
468 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
480 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
509 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
522 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
534 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
556 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | interdiff-3130169-5-8.txt | 2.82 KB | mrinalini9 |
| #8 | 3130169-8.patch | 2.78 KB | mrinalini9 |
| #5 | interdiff_2-5.txt | 1.3 KB | suresh prabhu parkala |
| #5 | 3130169-5.patch | 3.26 KB | suresh prabhu parkala |
| #2 | 3130169-2.patch | 2.84 KB | mo_farhaz |
Comments
Comment #2
mo_farhaz commentedplease review.
Comment #3
kapilv commentedComment #4
matsbla commentedComment #5
suresh prabhu parkala commentedPlease review!
Comment #6
matsbla commentedHmm.
Look at this issue
#3133726: [meta] Remove usage of t() in tests not testing translation
I think maybe t() should not be used in these tests at all!
Comment #7
mrinalini9 commentedComment #8
mrinalini9 commentedUpdated patch as per the changes mentioned in #6.
Comment #10
matsbla commentedGreat, thanks!