Problem/Motivation

FILE: /home/thallesvf/Desktop/lando/d8-contrib/modules/ctools/src/Tests/Wizard/CToolsWizardTest.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------
 118 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 121 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 124 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 137 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 138 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
------------------------------------------------------------------------------------------------------------------------------------------

Proposed resolution

Replace function t() by method t() of StringTranslationTrait on CToolsWizardTest.php

Comments

thalles created an issue. See original summary.

thalles’s picture

thalles’s picture

Status: Needs work » Needs review
joelpittet’s picture

Status: Needs review » Fixed

Thanks @thalles, committed to the latest dev release

  • joelpittet committed cffed11 on 8.x-3.x authored by thalles
    Issue #3060030 by thalles: Replace function t() by method t() of...

Status: Fixed » Closed (fixed)

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