Closed (outdated)
Project:
Drupal core
Version:
main
Component:
options.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Nov 2023 at 04:08 UTC
Updated:
4 May 2026 at 13:41 UTC
Jump to comment: Most recent
Comments
Comment #4
keshav patel commentedChanges made in the above MR (#3) to make code more readable, Please review.
Comment #5
nikolay shapovalov commentedThanks for MR. Can we separate array_filter() and array_map()? For me it's still not obvious what happens in array_map, and what happens in array_filter.
Looks like there is a bug with Drupal.WhiteSpace.ScopeIndent.IncorrectExact phpcs rule inside array_map().
Comment #7
keshav patel commentedUpdate the MR, Please Review.
array_filter function:
The array_filter function with the provided callback function
removes the empty strings('') and NULL values from $items array, giving out the filtered array.
Comment #8
nikolay shapovalov commentedTests fail.
Comment #9
keshav patel commentedNikolay Shapovalov, Re-ran the failed test job "#542553: PHP 8.2 MySQL 8" it Passed!
Comment #10
smustgrave commentedAny new features should have test coverage, but maybe this is a task. Didn't wnat to make that call though.
Also even simple tickets should still have a filled out issue summary.
Thanks.
Comment #12
smustgrave commentedSeems some work was already done wonder if this issue is out of date now?
Comment #13
smustgrave commentedSince the summary is incomplete not sure what next step would be. But this function appears to have been updated previously. If still a valid task please please re-open
Did assign credit though.
Thanks.