- Issue created by @cbovard
- Status changed to Fixed
9 months ago 6:46pm 6 February 2024
After a: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js .
There are various errors that need to be corrected:
21 | WARNING | Line exceeds 80 characters; contains 85 characters
22 | WARNING | Line exceeds 80 characters; contains 83 characters
32 | WARNING | Line exceeds 80 characters; contains 88 characters
44 | WARNING | Line exceeds 80 characters; contains 82 characters
91 | WARNING | Line exceeds 80 characters; contains 85 characters
148 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait
| | and $this->t() instead
155 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait
| | and $this->t() instead
Fixed
1.1
Code