FILE: ...web/modules/contrib/maintenance200/src/Form/Maintenance200SettingsForm.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------
39 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
44 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
48 | WARNING | #description values usually have to run through t() for
| | translation

CommentFileSizeAuthor
#2 3129828-2.patch1.35 KBmo_farhaz

Comments

mo_farhaz created an issue. See original summary.

mo_farhaz’s picture

Assigned: mo_farhaz » Unassigned
Status: Active » Needs review
StatusFileSize
new1.35 KB

please review.

Status: Needs review » Needs work

The last submitted patch, 2: 3129828-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

kapilv’s picture

Issue tags: +warning

  • Barrett committed f96405e on 8.x-1.x authored by mo_farhaz
    Issue #3129828 by mo_farhaz: t() calls should be avoided in classes
    
barrett’s picture

Thank you, @mo_farhaz!

barrett’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.