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

Comments

mfb created an issue. See original summary.

mfb’s picture

Status: Active » Needs review
StatusFileSize
new413 bytes
new1.72 KB
damienmckenna’s picture

Parent issue: » #3311884: Plan for Views 7.x-3.28
StatusFileSize
new1.86 KB
new2.31 KB

Thanks for putting this together.

This version fixes a few other occurrences of @code / @endcode.

mfb’s picture

Status: Needs review » Reviewed & tested by the community

LGTM - I ran phpcs to verify it completes

damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for bringing this up and for the patch. Committed.

  • DamienMcKenna committed ade4304 on 7.x-3.x
    Issue #3315509 by mfb, DamienMcKenna: phpcs endless loop with "Drupal"...
drumm’s picture

(Updating to resolve Drupal.org issue indexing issue, please disregard.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.