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
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 6101 Build 6121: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
src/lint/linter/ArcanistXHPASTLinter.php | ||
---|---|---|
4120 | Sort of irrelevant since these should never be utf8, but prefer phutil_utf8_strtolower() for consistency? |