Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2020 at 08:14 UTC
Updated:
14 Feb 2020 at 18:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hardik_patel_12 commentedKindly review a new patch
Comment #3
hardik_patel_12 commentedComment #4
hardik_patel_12 commentedComment #5
snehalgaikwad commentedPatch is working fine.
Comment #6
snehalgaikwad commentedFound one extra space, here adding a new patch after removing it.
Comment #7
naresh_bavaskarComment #8
naresh_bavaskar#6 patch applied successfully and works fine.
Note: Some coding standards need to be fixed in the above files but as the main purpose of this issue is fixed.
Comment #9
catchI personally prefer specifying the keys in foreach loops, even if they're not used - it can help with readability and documentation. So not sure we should do this.
Same here.
Comment #10
hardik_patel_12 commented@catch , ok got your point . Kindly review a new patch.
Comment #11
hardik_patel_12 commentedComment #12
bronk commentedAdditional patch in #10 also works. #9 is some subjectivity that we shouldn't inject into this issue as that is not a current coding standard. Whether it is preferred or not, I don't think it should hold up this fix.
Comment #15
catchCommitted 140b0a6 and pushed to 9.0.x. Thanks!
Might be worth a separate coding standards issue to discuss the foreach() stuff.