- Issue created by @Charlie ChX Negyesi
These coding standards are written for PHP4 not PHP8. Time to modernize.
If we adopted this change, the Drupal Project would benefit by having significantly less boilerplate.
Everything that has a type doesn't require documentation. If a reviewer can't understand what's it for then add some. Otherwise, just stop. This was the original intent behind behind π Allow omitting doxygen when type and variable name is enough Active anyways but even that limited version took two years. Now that Drupal has fully embraced typing even beyond what PHP can provide with β¨ Adopt phpstan phpdoc types as canonical reference of allowed types Active it's seriously time to stop doing this.
Provide all proposed changes to the Drupal Coding standards β . Give a link to each section that will be changed, and show the current text and proposed text as in the following layout:
Add current text in blockquotes
Add proposed text in blockquotes
For a full explanation of these steps see the Coding Standards project page β
Active
Coding Standards