Active
Project:
Coding Standards
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2026 at 08:20 UTC
Updated:
11 Jun 2026 at 08:20 UTC
Jump to comment: Most recent
There are Drupal best practices that are not a coding standards but are best practice and can't be found if one is looking at the coding standards. One example is Creating custom assertion messages.
There are also related core issues.
#3560672: [policy, no patch] Decide if and where to adopt the #[NoDiscard] attribute
#3250827: [policy, no patch] Use declare(strict_types=1) in new code
If we adopted this change, the Drupal Project would benefit by developers being able to easily find Drupal practices.
Some options
For a full explanation of these steps see the Coding Standards project page
Comments