t() calls should be avoided in classes, use DI and $this->t() instead.
FILE: ...l/pareviewsh/pareview_temp/src/Form/LoginDestinationSettingsForm.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------
35 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
36 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
41 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
42 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
--------------------------------------------------------------------------
FILE: ...rupal/pareviewsh/pareview_temp/src/Form/LoginDestinationRuleForm.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------
167 | WARNING | Unused variable $destination.
219 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
--------------------------------------------------------------------------
Comments
Comment #2
vuilComment #3
vuilComment #4
vuilPlease use Closed (won't fix) instead of non-activity about the issue.
Comment #5
vuilUpdate the title only. I think that it is more corrected now.
Comment #7
rsvelko commentedComment #8
vuil