Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2019 at 16:18 UTC
Updated:
27 Dec 2019 at 05:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
thallesFollow the patch!
Comment #3
joelpittetThese changes could break anything extending from this abstract class.
Comment #4
thallesWe can use both and warn that the former went into depreciation.
Comment #5
thallesFollow the patch!
Comment #7
thallesFollow new!
Comment #9
thallesFollow the patch!
Comment #10
thallesThis patch triggers the message that non-camel variables are depreciated.
Comment #11
andrey.troeglazov commentedThis is a bad solution from my point of view, I think adding @deprecated message in doc will be enough.
Comment #12
thallesFollow a patch!
Comment #13
joelpittetThis looks great but I have a couple of concerns that need to be addressed:
I don't think machine_name to machineName is ideal to change as child classes may be using that protected property.
why is this changing to a string key?
Comment #14
thallesHi @joelpittet!
All right?
Follow a new patch with the proposed changes.
About key:
I added because phpcs asked because it has a key in one value and in others not.
Thanks!
Comment #15
joelpittetThanks for doing that, strange that PHPCS would mention mixed indexes. I've committed this to the latest dev.