Repository navigation
- Separate statement groups with a blank line. Assignments,
newexpressions, statements on the same variable, static calls, and function calls each form a group, and assignments are also separated from any other statement. - Treat assignments to properties, static properties, and array items, such as
$this->value = 1;and$items[] = $item;, as part of an assignment group.