False positive from Drupal.Commenting.InlineComment.DocBlock

Created on 4 April 2025, 7 days ago

Problem/Motivation

Drupal.Commenting.InlineComment.DocBlock seems to fail if there's a docblock at the end of a class. If a function member of the class is moved after the offending docblock, then the PHPCS test passes.

Steps to reproduce

See the failed pipeline at https://git.drupalcode.org/issue/drupal-3488681/-/pipelines/464037. Clone the MR at that point in its branch. Run PHPCS on it.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

8.3

Component

Coder Sniffer

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

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

Comments & Activities

Production build 0.71.5 2024