Problem/Motivation

use function t()

FILE: ...esktop/lando/d8-contrib/modules/advagg/src/Form/SettingsForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 77 WARNINGS AFFECTING 77 LINES
----------------------------------------------------------------------
 118 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 122 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 124 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 128 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 130 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 134 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 139 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 144 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 151 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 153 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 162 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 169 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 170 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 171 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 172 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 177 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 180 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 198 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 201 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 207 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 209 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 213 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 215 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 221 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 228 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 236 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 241 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 243 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 247 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 249 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 255 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 257 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 267 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 272 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 274 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 280 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 282 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 292 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 293 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 297 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 298 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 299 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 300 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 301 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 302 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 303 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 304 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 305 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 306 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 307 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 311 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 312 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 313 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 314 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 315 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 316 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 317 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 318 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 319 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 320 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 321 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 325 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 328 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 335 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 346 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 353 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 354 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 358 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 360 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 370 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 372 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 382 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 384 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 394 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 396 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 405 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
 407 | WARNING | t() calls should be avoided in classes, use
     |         | dependency injection and $this->t() instead
----------------------------------------------------------------------

Comments

thalles created an issue. See original summary.

thalles’s picture

Status: Needs work » Needs review
StatusFileSize
new19.95 KB

  • thalles committed 52f225e on 8.x-3.x
    Issue #3028076 by thalles: use function t() on advagg/Form/SettingsForm....
thalles’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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