HomePhabricator

Improve `LINT_KEYWORD_CASING` linter rule

Description

Improve LINT_KEYWORD_CASING linter rule

Summary: Ref T7409. Improve ArcanistXHPASTLinter::LINT_KEYWORD_CASING to include additional token types. Based on Generic_Sniffs_PHP_LowerCaseKeywordSniff.

Test Plan: arc unit

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7409

Differential Revision: https://secure.phabricator.com/D12367

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 12 2015, 9:38 PM
Reviewer
Blessed Reviewers
Differential Revision
D12367: Improve `LINT_KEYWORD_CASING` linter rule
Parents
rARCf86f4f24e617: Add a linter rule for uppercase constant definitions
Branches
Unknown
Tags
Unknown
Tasks
T7409: Implement PHPCS lints