Updated: Comment #N
Problem/Motivation
tracking these so I dont forget them.
also, want to see what testbot says about the changes to make sure the unused uses are actually unused and the type hinting stuff is ok.
Proposed resolution
not alone enough to cause a reroll of the add to core patch, I think.
hold off until it's in core, or another issue causes it to need the core patch to be redone, or.. something here is found to be bad enough to be a blocker on getting into core.
changes:
- removes some contractions (under assumption makes it easier for non-native english speakers to understand without them)
- turns eg. into for example
- makes the @file class name match the actual class name/filename
- removed unused uses
- makes types match in @param
Remaining tasks
- read all the code
- add jhodgdon's notes (not blocking either)
User interface changes
API changes
Related Issues
Comment | File | Size | Author |
---|---|---|---|
#7 | 2137223-7.patch | 14.91 KB | tstoeckler |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedneeds review for testbot, not done reading yet
Comment #2
YesCT CreditAttribution: YesCT commentedsome more little things, like (optional) in @param.
still not done reading. (and I think still nothing blocking)
Comment #3
tstoecklerAwesome, looks great. Agreed on not re-rolling the core patch for this. I suppose most of the wrong "Contains ..." etc. are my fault, so sorry, and thanks a lot for cleaning that up!
Comment #4
Gábor HojtsyDoes this include Tim's changes.txt? We need that in our repo first, if we need to roll more patches against it.
Comment #5
Gábor HojtsyNeeds reroll against core now.
Comment #6
tstoecklerThese are sort of questionable, although I guess I sort of agree. The problem is the following: They are not actually optional by the nature of the class, they *should* really be required. But we cannot add required parameters to buildForm() without breaking FormInterface, that's why they're optional. So I guess I tentatively agree.
Comment #7
tstoecklerHere's a re-roll.
No actual changes so going straight to RTBC. There's no reason to credit me on this one.
Comment #8
YesCT CreditAttribution: YesCT commentedRegarding #6, I think that is an excellent reason to add an explanation there about why they are not really optional.
I'm ok with getting this much in, and doing the rest later. (I'm taking my broken computer in to get it fixed... hopefully I can bring it back home with me fixed today. But if not I'm going to be slower than usual to get back to this, as I'll have to get a different computer set up first.)
Comment #9
tstoecklerYeah, I'm also fine with it for now.
Comment #10
webchickNice clean-up, thanks!
Committed and pushed to 8.x.
Comment #11
Gábor HojtsyFix tagging.