]> khamidou — GitHub mirrors - arcanist.git/commit
Further improvements to keyword casing linter rule
authorJoshua Spence <josh@joshuaspence.com>
Sun, 12 Apr 2015 21:27:20 +0000 (07:27 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 12 Apr 2015 21:27:20 +0000 (07:27 +1000)
commit6525a309c29fa4339b9f3c10b2b99c72368cf7c1
tree5b561c38c0085f880efc168de72382cdb30aeaff
parent515e98f1d297a66576ecdb1556ef3e8bd1ac96ac
Further improvements to keyword casing linter rule

Summary: Ref T7409. Improve the `ArcanistXHPASTLinter::LINT_KEYWORD_CASING` linter rule to check that magic constants are uppercase.

Test Plan: Added unit test.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7409

Differential Revision: https://secure.phabricator.com/D12368
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/keyword-casing.lint-test