Skip to main content Skip to search
Can we use first and third party cookies and web beacons to understand our audience, and to tailor promotions you see?
Main menu
  • Drupal.org home
  • Discover Drupal
    • Drupal Core
    • Drupal CMS
    • Drupal AI
    • Case Studies
    • Drupal for Government
    • Drupal for Higher Education
    • Drupal for Nonprofit
    • Drupal for eCommerce
    • Drupal for FinTech
    • Drupal for Healthcare
    • Drupal for Enterprise
    • Drupal for Retail
    • Drupal for Travel & Tourism
  • Build with Drupal
    • Download Drupal
    • Documentation
    • Getting started
    • Local Development Guide
    • Developer Resources
    • Drupal CMS User Guide
    • Drupal User Guide
    • API
    • Modules
    • Themes
    • Recipes
    • Site Templates
    • Issue queues
    • Security Advisories
  • Partners & Services
    • Find a Drupal Certified Partner
    • Become a Drupal Certified Partner
    • Find a Hosting Provider
    • Find a Migration Partner
    • Find Training
    • Drupal Steward
  • Community
    • About the Community
    • How to Contribute
    • DrupalCon
    • Events
    • Jobs / Careers
    • News & Blogs
    • Forum
    • Slack
    • Newsletters
    • Drupal Swag Shop
  • Support Drupal
    • The Drupal Association
    • Donate
    • Become a Partner
    • Become a Ripple Maker
    • Become an Organization Member
    • Drupal Swag Shop
  • Get Started
    • Try Drupal CMS
    • Try Hosting
Return to content

Search form

  • Log in, view profile, and more
    • Log in
    • Create account
Drupal.org
Community projectsCoding StandardsPublished

Change records for Coding Standards

Primary tabs

  • Published
  • Draft & review(active tab)

Add new change record

Introduced in branch/version Notice createdsort ascending Change Issues
20-Feb-2026 Remove the requirement for doxygen for test methods
  • https://www.drupal.org/node/2108785
19-Feb-2026 Using more than one space around operators is now forbidden.
  • https://www.drupal.org/node/2816445
19-Feb-2026 Global class names outside of a namespace need to be references by their namespace
  • https://www.drupal.org/node/3501643
19-Feb-2026 A space is required between 'match' and the opening parenthesis
  • https://www.drupal.org/node/3406368
17-Feb-2026 Increase line length soft limit to 120
  • https://www.drupal.org/node/3173782
17-Feb-2026 Allow no description for "@return self"
  • https://www.drupal.org/node/3326851
08-Apr-2024 use statements must be ordered alphabetically
  • https://www.drupal.org/node/1624564
23-Dec-2023 Flexibility in allowing blank lines after inline comments
  • https://www.drupal.org/node/2464123
06-Dec-2023 Major update to CSS coding standards to include PostCSS and Drupal 10
  • https://www.drupal.org/node/3324368
31-Oct-2023 Conditions can be wrapped into multiple lines
  • https://www.drupal.org/node/3392321
25-Oct-2023 Functions that start with an underscore should be treated as private and include the @internal annotation in their docblock
  • https://www.drupal.org/node/2355209

News items

  • News
  • Planet Drupal
  • Social media
  • Sign up for Drupal news
  • Security advisories
  • Jobs

Our community

  • Community
  • Services, Training & Hosting
  • Contributor guide
  • Groups & meetups
  • DrupalCon
  • Code of conduct

Documentation

  • Documentation
  • Drupal Guide
  • Drupal User Guide
  • Developer docs
  • API.Drupal.org

Drupal code base

  • Download & Extend
  • Drupal core
  • Modules
  • Themes
  • Distributions

Governance of community

  • About
  • Web accessibility
  • Drupal Association
  • About Drupal.org
  • Terms of service
  • Privacy policy

Drupal is a registered trademark of Dries Buytaert.