Because of its large size and prominence, the file common.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 this issue.

Related Issues

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

Comments

lars toomre’s picture

Issue summary: View changes

Corrects mis-use of

    instead of tags.
lars toomre’s picture

Status: Active » Needs review
StatusFileSize
new64.84 KB

Attached is work in progress about adding variable type hinting to all @param and @return directives in the large core file common.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 sub-issues #1310084: [meta] API documentation cleanup sprint.

There are also some questions about particular variable types that can be found by searching for '???' in the patch file.

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, Common_Variable_Type_Hinting-1333470-1.patch, failed testing.

Anonymous’s picture

Issue summary: View changes

Added cross-reference to issue #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.