Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The menu_ui 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 | issue-2396699-7.patch | 5.79 KB | Sivaji_Ganesh_Jojodae |
#4 | clean_up_menu_ui_module-2396699-4.patch | 6.12 KB | hussainweb |
#1 | clean_up_menu_ui_module-2396699-1.patch | 6.05 KB | hussainweb |
Comments
Comment #1
hussainwebRemoved a few property definitions which were not used out of a single method and renamed others.
Comment #2
Mile23phpcs says no camel case errors in test classes. The testbot run is 4 days old but I think it's recent enough.
Rawk.
Comment #4
hussainwebStraight, simple reroll. :)
No changes to code, just surrounding lines. I daresay it is good for RTBC as soon as it passes but let's see what others say.
Comment #5
Mile23Needs reroll, and while you're there...
Out of scope....
Otherwise great. Thanks, @hussainweb!
Comment #6
Mile23Comment #7
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedRe-rolled patch #4 with proper usage of
array()
mentioned in #5.Comment #8
Mile23No underscore property names in the test classes, and no array re-declarations.
Thanks sivaji@knackforge.com and hussainweb!
Comment #9
alexpottCommitted e988258 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.