Because of its prominence and key functions, the file bootstrap.inc will require its own patch for variable type hinting in the @param and @return directives. @webchick has indicated that this type of patch will not be backported to D7. This is also a lower priority patch to some of the other API documentation clean up work that is on-going.

The attached patch contains work in progress toward a complete patch for the variable type hinting in bootstrap.inc.

Related Issues

#1331240: [Meta] Correct documentation for 'list' related issues

Comments

lars toomre’s picture

Status: Active » Needs review
StatusFileSize
new26.77 KB

Attached is work in progress about adding variable type hinting to all @param and @return directives in the rather large and prominent file bootstrap.inc.

This work covers most of the functions. However, some @param and/or @return directives are missing that are being added in other 2011 API documentation sprint issues #1310084: [meta] API documentation cleanup sprint. There are also some questions about particular variable types that can be found by searching for '???'.

One will need to check for completeness of coverage before final patch review for commitment.

thedavidmeister’s picture

Status: Needs review » Needs work

The last submitted patch, Bootstrap_Variable_Type_Hinting-1333474-1.patch, failed testing.

albert volkman’s picture

Status: Needs work » Needs review
StatusFileSize
new16.1 KB

Re-roll, but there's several more missing type-hints.

thedavidmeister’s picture

Status: Needs review » Needs work

are you saying that the patch needs to be extended to add more type-hints for full coverage of bootstrap.inc? because if so that means this issue needs work.

albert volkman’s picture

Yep, I was just setting it to NR so that it'd get tested.

albert volkman’s picture

Issue summary: View changes

Added cross-reference to #1331240.

jhodgdon’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

I'm closing very old coding standards fixup issues. They are being addressed on other issues mostly.