]> khamidou — GitHub mirrors - arcanist.git/commit
Set all lint paths at once
authorvrana <jakubv@fb.com>
Sat, 20 Oct 2012 12:45:22 +0000 (05:45 -0700)
committervrana <jakubv@fb.com>
Sat, 20 Oct 2012 13:49:54 +0000 (06:49 -0700)
commit77af6fb35df8ab7162d5784287e021249ea32f88
tree5c24a1a24923011d04fb89f4b0bf67353b787ae8
parent262423b5a8838855e1e655aa5b0e83cdf205309d
Set all lint paths at once

Summary:
This code is much more readable to me.
It should also be faster as building the array at once should be faster than one by one.

Test Plan: Made license and XHPAST errors in PHP file, made spelling error in JS file.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3758
src/lint/engine/ArcanistSingleLintEngine.php
src/lint/engine/ComprehensiveLintEngine.php
src/lint/engine/PhutilLintEngine.php
src/lint/linter/ArcanistLinter.php