Closed (fixed)
Project:
Extended Number Field
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Feb 2023 at 08:11 UTC
Updated:
29 Sep 2023 at 20:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gayatri chahar commentedPatch created. Please review it
Comment #3
hardikpandya commentedThere are still procedural
t()calls insrc/Plugin/Field/FieldWidget/XnumberWidget.phpandsrc/Tests/XnumberFieldTest.php. Please fix them!Comment #4
annmarysruthy commentedComment #5
annmarysruthy commentedComment #6
annmarysruthy commentedcreated a new patch for changing all the t() calls. Please review
Comment #7
annmarysruthy commentedComment #8
drugan commentedThanks for your contribution!
Please ignore
t()in thesrc/Tests/XnumberFieldTest.phpfile. Instead you can create new Drupal 10 compatible test files here:#3299531: Automated Drupal 10 compatibility fixes
Also, please follow fork -> merge request workflow which is the new way of making changes in the code:
https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa...
Comment #10
annmarysruthy commentedComment #12
annmarysruthy commentedMR !4 raised to avoid t() calls inside class. please review
Comment #13
urvashi_vora commentedHi @annmarysruthy,
I reviewed MR 4.
Steps performed while reviewing:-
1. Taken clone of issue branch
2. Reviewed the changes as per Merge Request 4.
3. I still got the "t() calls should be avoided in classes" error for /src/Tests/XnumberFieldTest.php.
4. Attaching the screenshot for reference.
Test Result:- Needs Work.
Moving it to Needs Work.
I am working on it, assigning it to myself.
Thanks for the work.
Comment #15
urvashi_vora commentedPLease review the MR.
Comment #16
drugan commentedHi,
After the 2.0.0-beta1 release 8.x version of the module will not get changes anymore except critical ones.
Please, fix merge issues and do not forget to follow Drupal git commit guidelines.
Hint: Just copy it from the prompt below.
Comment #19
bharath-kondeti commentedComment #20
drugan commentedAs you see it is still unmergeable.
Please, properly merge upstream first.
Comment #22
elberComment #23
drugan commentedPlease, fix
Drupalcoding standards errors introduced by your changes.Comment #25
anjali mehta commentedAdded patch to fix warnings and errors reported by phpcode sniffer
Comment #26
nitin_lamaComment #27
nitin_lamaComment #28
nitin_lamaComment #29
drugan commentedChanges in the README.md file are not related to this issue which says:
t() calls should be avoided in class
Comment #30
nitin_lamaComment #31
nitin_lamaComment #32
elberPlease revise
Comment #33
drugan commentedThe module has good test coverage, please run tests before asking for review.
Comment #34
elberPlease revise.
Comment #35
drugan commentedPlease address the comment above.
Comment #36
elberplease revise
Comment #37
drugan commentedComment #38
elberPlease revise again
Comment #39
elberrebase completed
Comment #41
drugan commentedComment #42
drugan commentedThanks everyone!