Drupal Core News: Coding standards proposals for final discussion on 7 November

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

The Coding Standards project page outlines the process for changing Drupal coding standards.

Recent changes

Allow constructor methods to omit docblocks

Documentation changes:

  1. Minimum requirements for in-code documentation
  2. Drupal API documentation standards for classes and namespaces

Always add trailing commas, for arrays and annotations

Documentation changes:

  1. Arrays coding standard
  2. @Annotation, @Plugin, etc.: Plugin discovery annotations

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.

PubDate

Tags