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
F15430367: D9193.id.diff
Mon, Mar 24, 7:20 AM
F15390942: D9193.id21833.diff
Sat, Mar 15, 7:28 AM
F15353835: D9193.id21832.diff
Tue, Mar 11, 12:29 AM
F15338898: D9193.diff
Sun, Mar 9, 1:22 PM
F15335464: D9193.id.diff
Sat, Mar 8, 3:37 PM
Unknown Object (File)
Feb 9 2025, 1:02 PM
Unknown Object (File)
Feb 9 2025, 1:02 PM
Unknown Object (File)
Feb 9 2025, 1:02 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).