]> khamidou — GitHub mirrors - arcanist.git/commit
Fix PHT linter
authorvrana <jakubv@fb.com>
Sat, 19 Jan 2013 18:26:24 +0000 (10:26 -0800)
committervrana <jakubv@fb.com>
Sat, 19 Jan 2013 19:48:17 +0000 (11:48 -0800)
commit98fec27752be1933d117a430b7b0e1629067705b
tree0faf324de6475ba652961865363dfae2342a3842
parent78017033bd8e470a931847062d8ce7a5236c7715
Fix PHT linter

Summary: Variables in strings and concatenation lists.

Test Plan:
New unit tests.

  preg_match('/^((?>[^$\\\\]*)|\\\\.)*$/s', str_repeat('a', 1e6));

Reviewers: epriestley

Reviewed By: epriestley

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