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
F14035559: D9193.id21832.diff
Sun, Nov 10, 6:30 AM
F14035202: D9193.diff
Sun, Nov 10, 4:51 AM
Unknown Object (File)
Sep 20 2024, 4:08 AM
Unknown Object (File)
Sep 18 2024, 8:56 PM
Unknown Object (File)
Sep 15 2024, 2:53 PM
Unknown Object (File)
Sep 12 2024, 1:39 AM
Unknown Object (File)
Sep 10 2024, 3:20 AM
Unknown Object (File)
Sep 8 2024, 11:40 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).