Allow _construct() method to omit docblock

Created on 9 November 2023, about 1 year ago
Updated 10 February 2024, 11 months ago

Problem/Motivation

The official coding standard has changed, so we should adjust the sniff. I haven't looked into what's actually necessary yet, just opening this as a placeholder. Drupal core never enabled this particular sniff so is unaffected (although it would help to enable it later if it matches the rules).

Coding standards issue 🌱 Allow constructor methods to omit docblocks Fixed
Change Record https://www.drupal.org/node/3365111 β†’

Proposed resolution

Modify sniff Drupal.Commenting.FunctionComment.Missing to not flag an error if there is no docblock for a function.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

8.3

Component

Coder Sniffer

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024