phpcs endless loop with "Drupal" rules due to missing @endcode

Created on 31 January 2023, almost 2 years ago

Problem/Motivation

If you run phpcs with the "Drupal" rules provided by coder, there is an endless loop in includes/base.inc due to missing @endcode

In addition, drupal/coder requires @endcode to be on a different line, although arguably this latter issue is a bug in drupal/coder

Steps to reproduce

Can be reproduced in drupalci https://dispatcher.drupalci.org/job/drupal_d7/229934/console or manually via phpcs -v (with a phpcs.xml file that enables the "Drupal" rule).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

🇨🇦Canada joelpittet Vancouver

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

Comments & Activities

Production build 0.71.5 2024