[php8.2] Clean up the 2 forms that support Group-extending custom data for notices, php8.2 compliance #29229
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Clean up the 2 forms that support Group-extending custom data for notices, php8.2 compliance
Before
Forms use complex, non php8.2 compliant function to add the group custom data to the forms, various notices
After
Ajax method used to load the custom data, unlike the removed functions it has a clear contract
Technical Details
I'm pretty sure the noticey show-hide was another round of copy & paste. I tackled both these forms together because although only one is blocking our test suite they both required the same field to be configured. In addition the slight change in postProcess should handle money formatting
Comments
Anything else you would like the reviewer to note