1
0
Fork 0
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:
Joshua Spence 2014-10-08 08:43:58 +11:00
parent a0cb484db4
commit f44a6e00a7

View file

@ -2566,6 +2566,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
'null' => 'null',
'array' => 'array',
'new' => 'new',
'class' => 'class',
);
foreach ($keywords as $keyword) {