]> khamidou — GitHub mirrors - arcanist.git/commit
Improve array comma rule
authorJoshua Spence <josh@joshuaspence.com>
Mon, 6 Apr 2015 21:51:52 +0000 (07:51 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 6 Apr 2015 21:51:52 +0000 (07:51 +1000)
commit3a5ffdc2fdf2f14da7eb6fb545b60c971ea437c6
tree2615498ede06322481b6a783a4997893e1a1e741
parent4b2d8e3f69c2bdd672a490b306315f57e7729a09
Improve array comma rule

Summary: Improve `ArcanistXHPASTLinter::LINT_ARRAY_SEPARATOR` in handling multi-line arrays, see D12280 and D12281 for example.  Depends on D12295.

Test Plan: Updated unit tests.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12296
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/array-comma.lint-test