Improve the ArcanistXHPASTLinter::LINT_ALIAS_FUNCTION linter rule. Currently this rule does not correctly handle alias functions which are not strictly lowercase.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARC9444072e2161: Improve the robustness of the "alias function" linter rule
Added a test case.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/lint/linter/ArcanistXHPASTLinter.php | ||
---|---|---|
4136 | Sort of irrelevant since these should never be utf8, but prefer phutil_utf8_strtolower() for consistency? |