Control statements should have one space between the control keyword and opening parenthesis, to distinguish them from function calls.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikey_p’s picture

Made a small change to the documentation to use an actual verb instead of a PHP function as a verb.

Other than that, looks awesome. I couldn't find any other instances of 'foreach(' with grep.

bleen’s picture

Status: Needs review » Reviewed & tested by the community

Simple enough

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.