mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
Extend ArcanistXHPASTLinter::LINT_KEYWORD_CASING
Summary: Extend `ArcanistXHPASTLinter::LINT_KEYWORD_CASING` to include the `class` keyword. Test Plan: I can't really added a test case for this without getting "XHP19 Class-Filename Mismatch". Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D10653
This commit is contained in:
parent
a0cb484db4
commit
f44a6e00a7
1 changed files with 1 additions and 0 deletions
|
@ -2566,6 +2566,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
|
|||
'null' => 'null',
|
||||
'array' => 'array',
|
||||
'new' => 'new',
|
||||
'class' => 'class',
|
||||
);
|
||||
|
||||
foreach ($keywords as $keyword) {
|
||||
|
|
Loading…
Reference in a new issue