We're supposed to have all constants in upper case but in practice we've got a mix of lower and upper. This patch changes occurrences of true, false, and null constants to uppercase so everything is consistent throughout core. I've done this manually to examine each case and make sure a change is appropriate (e.g., don't change javascript or is_null() calls, etc.).

CommentFileSizeAuthor
drupal-constants-upper-case.patch63.68 KBnedjo

Comments

dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)