]> khamidou — GitHub mirrors - arcanist.git/commit
Warn about pht() with non constant string
authorvrana <jakubv@fb.com>
Fri, 22 Jun 2012 00:41:26 +0000 (17:41 -0700)
committervrana <jakubv@fb.com>
Fri, 22 Jun 2012 01:07:13 +0000 (18:07 -0700)
commita9dbb937e8d612ec9080b8966180c4b97b06057f
tree11fdc687b380bb6ba3e84144723368cbe6de93e5
parent22d2d6743de5b9c334d192bd3505dd0d6a50a5d4
Warn about pht() with non constant string

Summary: We will extract them at some point, lint before it's too late.

Test Plan:
New test.
Linted all callsites.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D2825
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/pht.lint-test [new file with mode: 0644]