Problem/Motivation

To detect "elseif" usage we can use the upstream PSR2 sniff.

Proposed resolution

https://github.com/pfrenssen/coder/pull/287

API changes

* Drupal.ControlStructures.ElseIf is replaced with PSR2.ControlStructures.ElseIfDeclaration

Comments

klausi created an issue. See original summary.

  • klausi authored 44bf9e31 on 9.x
    refactor(ElseIf): Replace sniff with upstream PSR2 version (#3559491)
    
    
klausi’s picture

Status: Active » Fixed

Merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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