Page MenuHomePhabricator

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

Authored by joshuaspence on May 19 2014, 1:28 PM.
Tags
None
Referenced Files
F19032670: D9193.id.diff
Nov 25 2025, 7:13 AM
F18811783: D9193.diff
Oct 20 2025, 4:59 AM
F18808593: D9193.id21832.diff
Oct 19 2025, 7:19 AM
F18618712: D9193.id.diff
Sep 15 2025, 12:47 AM
F18613751: D9193.diff
Sep 14 2025, 11:26 AM
F18595714: D9193.id21833.diff
Sep 12 2025, 10:35 PM
F18593355: D9193.id21833.diff
Sep 12 2025, 2:43 PM
F18587285: D9193.diff
Sep 11 2025, 8:56 PM

Details

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.

Diff Detail

Repository
rARC Arcanist
Branch
xhpast-elseif
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 566
Build 566: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a rule to the XHPAST linter for detecting `elseif` usage..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 19 2014, 1:33 PM
epriestley updated this revision to Diff 21833.

Closed by commit rARC566c7e9c5cf4 (authored by @joshuaspence, committed by @epriestley).