]> khamidou — GitHub mirrors - arcanist.git/commit
Tweak severity of pht() linter
authorvrana <jakubv@fb.com>
Wed, 12 Sep 2012 17:17:59 +0000 (10:17 -0700)
committervrana <jakubv@fb.com>
Wed, 12 Sep 2012 17:29:37 +0000 (10:29 -0700)
commit64f35f0b8351fe712bc4e22488df5e450a5f4916
tree70fca03d80270babb9109f3a408f39ad6c789776
parent7c0d99aac9ac238f23a87c5847f38a080c48182a
Tweak severity of pht() linter

Summary:
`pht()` can be some random function.
Better solution would be to separate this linter to its own class but it would be slower.

Also use `PhutilLintEngine` as `lint.engine`.

Test Plan:
  $ arc lint # on file with pht($a)

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3480
.arcconfig
src/lint/engine/PhutilLintEngine.php
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/pht.lint-test