The DateTime module uses test class members with underscored names. Some examples are big_user, web_user and admin_user, but there could be others. According to our coding conventions, these should be renamed to bigUser, webUser and adminUser. In addition, some properties are undefined but should be.
See the parent issue #1811638: [meta] Clean-up Test members - ensure property definition and use of camelCase naming convention.
Beta phase evaluation
| Issue category | Task, because this is a coding standards change. |
|---|---|
| Issue priority | Not critical because coding standard changes are not critical. |
| Unfrozen changes | Unfrozen because it only changes automated tests. |
| Disruption | There is no disruption expected from this sort of change. |
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | datetime-testing-camelcase-2384167-1.patch | 3.58 KB | tibbsa |
Comments
Comment #1
tibbsa commentedComment #2
tibbsa commentedComment #3
mile23After applying the patch,
phpcssays no coding standard errors at all incore/modules/datetime/src/Tests/. I'd call that some kind of miracle.Comment #4
cilefen commentedfield_datetime is not declared.
DateTimeFieldTest:
Not declared.
Comment #5
cilefen commentedOops, wrong patch.
Comment #7
cilefen commentedNit: extra newline here.
Comment #9
mile23Looks green and pass-y. RTBC stays.
Original RTBC comment in #3.
Comment #10
alexpottCommitted 827b39b and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation for to the issue summary.
unless extra blank line added - removed on commit.