Coding standards proposals for final discussion on 4/29
The TWG coding standards committee is announcing two coding standards changes for final discussion. These appear to have reached a point close enough to consensus for final completion. The new process for proposing and ratifying changes is documented on the coding standards project page.
The four new issues being proposed are:
- [policy, no patch] Standardize indenting on chained method calls
- [Policy, no patch] Delete permission to pad spacing in a block of related assignments
- [Policy, no patch] PHP 5.4 short array syntax coding standards
- Add type hinting to function declaration coding standards
Issues still open for comment:
- Should we require a blank line after <?php? (I think we have consensus on this one - to be reviewed on Friday 4/29)
- Allow camelCase also for local variables / parameters (the committee is drafting a comment)
These proposals will be re-evaluated during the next coding standards meeting currently scheduled for April 29th. This is a shorter window and a longer list than the committee generally provides and these issues will likely not be finalized until the following meeting (date TBD due to DrupalCon). The normal timeline was shifted by the arrival of committee member's babies, everyone's happy and healthy but timelines went whacky. At that point the discussion will likely be extended, or if clear consensus has been reached the policy may be dismissed or ratified and moved to the ‘update documentation’ step.