1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-29 17:00:58 +01:00

(stable) Promote 2018 Week 36

This commit is contained in:
epriestley 2018-09-08 04:47:56 -07:00
commit 3ef17ab1bb

View file

@ -11,7 +11,7 @@ abstract class ArcanistFutureLinter extends ArcanistLinter {
return 8; return 8;
} }
final public function willLintPaths(array $paths) { public function willLintPaths(array $paths) {
$limit = $this->getFuturesLimit(); $limit = $this->getFuturesLimit();
$this->futures = id(new FutureIterator(array()))->limit($limit); $this->futures = id(new FutureIterator(array()))->limit($limit);
foreach ($this->buildFutures($paths) as $path => $future) { foreach ($this->buildFutures($paths) as $path => $future) {
@ -23,7 +23,7 @@ abstract class ArcanistFutureLinter extends ArcanistLinter {
return; return;
} }
final public function didLintPaths(array $paths) { public function didLintPaths(array $paths) {
if (!$this->futures) { if (!$this->futures) {
return; return;
} }