Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
responsive_image.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2014 at 06:24 UTC
Updated:
27 Jan 2015 at 13:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hussainwebResponsiveImageFieldDisplayTest::admin_useractually inherits fromImageFieldTestBase::admin_userand hence I'm just renaming it. The change for the base class is in #2396687: Clean-up image module test members - ensure property definition and use of camelCase naming convention.Comment #2
hussainwebI modified the patch in #2396687-2: Clean-up image module test members - ensure property definition and use of camelCase naming convention to rename
ResponsiveImageFieldDisplayTest::admin_userproperty and hence removed the change here.Comment #3
mile23Yes, we want the changes to be in the same patch as the changed property declarations.
Patch #2 gets RTBC.
Comment #4
alexpottThis is out-of-scope
Comment #5
hussainwebI am happy to revert that line, but I just want to know if this line causes any problem. I know this is out of scope but the change does not affect any functionality at all. It just makes things slightly easier to read.
I know there are concerns for changes during beta stages, but again, since this is not functional and it slowly moves all the code towards the new array syntax, it might be acceptable. Thoughts, please?
Comment #6
alexpott@hussainweb that line obviously does not cause problems but it is out of scope so why change it? Every additional line of out-of-scope change someone has to review takes time away from reviewing other patches.
Comment #7
hussainwebReverting that line.
@alexpott: The reason I changed it is that it is slightly more readable and looks better (especially among nested parenthesis). I was not sure to create another issue for this change and thought it would be better to make this change in a small way through existing patches. Do you think this should be a subject of another issue?
Comment #8
mile23Thanks, @hussainweb.
This patch removes an extraneous undefined class member, and also doesn't have out of scope array definitions.
Comment #9
alexpottCommitted cd880e6 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.