]> khamidou — GitHub mirrors - arcanist.git/commit
Improve the robustness of the "alias function" linter rule
authorJoshua Spence <josh@joshuaspence.com>
Tue, 19 May 2015 22:36:12 +0000 (08:36 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 19 May 2015 22:36:36 +0000 (08:36 +1000)
commit9444072e2161a132f18815dca2136750ad10c976
tree24dbe13742ed202e6c36b75752061d34b74711c0
parent80691e0a66464aa280ba45121811b08015e41d8a
Improve the robustness of the "alias function" linter rule

Summary: Improve the `ArcanistXHPASTLinter::LINT_ALIAS_FUNCTION` linter rule. Currently this rule does not correctly handle alias functions which are not strictly lowercase.

Test Plan: Added a test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12921
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/alias-functions.lint-test