The filter 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 |
|---|---|---|---|
| #7 | clean_up_filter_module-2394421-7.patch | 21.7 KB | hussainweb |
| #7 | interdiff-2-7.txt | 6.9 KB | hussainweb |
Comments
Comment #1
tibbsa commentedComment #2
hussainwebComment #5
mile23phpcs says there aren't any camel case errors in the test classes.
There are a bunch of out-of-scope array declaration changes.
But moving forward, RTBC.
Comment #6
alexpottOut of scope... all of the changes to php's new array format on lines that do not need to be changed are completely out of scope for this issue.... there must be more in the issue. Please keep the issue in scope.
Comment #7
hussainwebReverting all changes with new array syntax.
Comment #8
mile23Fixes all the camelCase errors, and doesn't have out of scope [] arrays.
Thanks again, @hussainweb. :-)
Comment #9
alexpottCommitted b1f378f and pushed to 8.0.x. Thanks!