- Issue created by @jay jangid
- @jay-jangid opened merge request.
- Issue was unassigned.
- 🇮🇳India Sonal Gyanani
Thanks @Jay Jangid, but still there were some warnings in the following files
FILE: ...x-dev\modules\fieldmask\src\Plugin\Field\FieldType\FieldMask.php ---------------------------------------------------------------------- FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES ---------------------------------------------------------------------- 79 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 108 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 111 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...dules\fieldmask\src\Plugin\Field\FieldWidget\FieldMaskWidget.php ---------------------------------------------------------------------- FOUND 1 ERROR AND 7 WARNINGS AFFECTING 8 LINES ---------------------------------------------------------------------- 63 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 70 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 72 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 109 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 111 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 114 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead 117 | WARNING | [ ] t() calls should be avoided in classes, use | | \Drupal\Core\StringTranslation\StringTranslationTrait | | and $this->t() instead ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------
That I fixed in MR.
Please review. - Assigned to Charchil Khandelwal
- Issue was unassigned.
- Status changed to RTBC
almost 2 years ago 1:00pm 24 January 2023 - 🇮🇳India Charchil Khandelwal
All errors and warnings are fixed now.
So moving to RTBC. -
heni_deepak →
committed 0386fb43 on 8.0.x authored by
Jay Jangid →
Issue #3336106: Drupal Coding Standards Issues | phpcs
-
heni_deepak →
committed 0386fb43 on 8.0.x authored by
Jay Jangid →
- Status changed to Fixed
almost 2 years ago 4:42am 25 January 2023