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
F14731230: D9193.diff
Sat, Jan 18, 8:01 AM
Unknown Object (File)
Sun, Jan 5, 9:17 AM
Unknown Object (File)
Fri, Jan 3, 4:17 PM
Unknown Object (File)
Fri, Dec 20, 8:46 AM
Unknown Object (File)
Dec 15 2024, 7:27 AM
Unknown Object (File)
Dec 7 2024, 11:32 AM
Unknown Object (File)
Dec 4 2024, 10:38 PM
Unknown Object (File)
Dec 4 2024, 12:32 AM

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).