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.
Control statements should have one space between the control keyword and opening parenthesis, to distinguish them from function calls.
Comment | File | Size | Author |
---|---|---|---|
#1 | space-required-after-foreach-1.patch | 14.03 KB | mikey_p |
space-required-after-foreach.patch | 14.01 KB | munzirtaha | |
Comments
Comment #1
mikey_p CreditAttribution: mikey_p commentedMade 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.
Comment #2
bleen CreditAttribution: bleen commentedSimple enough
Comment #3
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.