Author:
Source
The Coding Standards Committe is announcing two coding standards changes for final discussion. Feedback will be reviewed at the meeting scheduled for 07 November.
Issues for discussion
- Use null coalescing operator (??) instead of ternary operator with isset statement
- Update Help Text Standards Examples to Modify Heading Structure
The Coding Standards project page outlines the process for changing Drupal coding standards.
Recent changes
Allow constructor methods to omit docblocks
Documentation changes:
- Minimum requirements for in-code documentation
- Drupal API documentation standards for classes and namespaces
Always add trailing commas, for arrays and annotations
Documentation changes:
Join the team working on Coding Standards
Join #coding-standards in Drupal Slack to meet and work with others on improving the Drupal coding standards. We work on improving our standards as well as implementing them in the core software.