FILE: C:\xampp\htdocs\test\web\modules\custom\inputmask_widget\src\Plugin\Field\FieldWidget\InputmaskWidget.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------
50 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
57 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
59 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
93 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
95 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
98 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
101 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
------------------------------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | drupal-14844217.patch | 3.96 KB | harshitthakore |
| #4 | content problem.png | 1.77 KB | gajendra_sharma |
| #2 | calls-should-be-avoided-3250981-2.patch | 3.04 KB | Harsh panchal |
Issue fork inputmask_widget-3292140
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Harsh panchal commentedI have fixed this issue and providing a patch.
Comment #4
gajendra_sharma commentedPatch #2 applied successfully but i think need work on it because some contents is not meaningful.
Comment #5
heni_deepak commentedneed to remove unused code.
Comment #6
harshitthakoreComment #7
harshitthakoreRemoved additional code.
Comment #8
harshitthakoreComment #9
Sonal Gyanani commentedComment #11
Sonal Gyanani commentedThanks patch working fine.
Move it to RTBC
Comment #12
radheymkumar commentedComment #13
radheymkumar commented