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
Unknown Object (File)
Wed, Sep 18, 8:56 PM
Unknown Object (File)
Sun, Sep 15, 2:53 PM
Unknown Object (File)
Thu, Sep 12, 1:39 AM
Unknown Object (File)
Tue, Sep 10, 3:20 AM
Unknown Object (File)
Sun, Sep 8, 11:40 PM
Unknown Object (File)
Sun, Sep 1, 9:07 AM
Unknown Object (File)
Sun, Sep 1, 9:07 AM
Unknown Object (File)
Sun, Sep 1, 9:07 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
Lint
Lint Skipped
Unit
Tests Skipped

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