HomePhabricator

Add a rule to the XHPAST linter for detecting `elseif` usage.

Description

Add a rule to the XHPAST linter for detecting elseif usage.

Summary: This rule is adapted from PHP_CodeSniffer and is used to enforce the consistent use of else if.

Test Plan: Wrote and executed unit tests.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin, neal

Differential Revision: https://secure.phabricator.com/D9193

Details

Provenance
joshuaspenceAuthored on
epriestleyCommitted on May 19 2014, 1:33 PM
epriestleyPushed on May 19 2014, 1:33 PM
Reviewer
Blessed Reviewers
Differential Revision
D9193: Add a rule to the XHPAST linter for detecting `elseif` usage.
Parents
rARC0468be3e7f15: Use the `ArcanistChmodLinter`.
Branches
Unknown
Tags
Unknown

Event Timeline