1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-24 13:38:18 +01:00
phorge-arcanist/src/lint
Joshua Spence 566c7e9c5c Add a rule to the XHPAST linter for detecting elseif usage.
Summary: This rule is adapted from [[https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php | PHP_CodeSniffer]] and is used to enforce the consistent use of `else if`.

Test Plan: Wrote and executed unit tests.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, neal

Differential Revision: https://secure.phabricator.com/D9193
2014-05-19 06:33:22 -07:00
..
engine Made some additional methods of ArcanistLintEngine final 2014-05-18 11:08:29 -07:00
linter Add a rule to the XHPAST linter for detecting elseif usage. 2014-05-19 06:33:22 -07:00
renderer Minor improvements to the ArcanistLintCheckstyleXMLRenderer class. 2014-05-13 17:32:49 -07:00
ArcanistLintMessage.php Support for lint messages which are always shown 2013-06-09 08:38:30 -07:00
ArcanistLintPatcher.php Delete license headers from files 2012-11-05 11:16:24 -08:00
ArcanistLintResult.php Introduce arc lint --only-new 1 2012-12-03 17:21:17 -08:00
ArcanistLintSeverity.php Don't run disabled lint rules 2013-02-14 15:31:10 -08:00