Changeset View
Changeset View
Standalone View
Standalone View
src/lint/engine/ArcanistLintEngine.php
Show First 20 Lines • Show All 294 Lines • ▼ Show 20 Lines | foreach ($linters as $linter_name => $linter) { | ||||
try { | try { | ||||
$linter->willLintPaths($paths); | $linter->willLintPaths($paths); | ||||
foreach ($paths as $path) { | foreach ($paths as $path) { | ||||
$linter->willLintPath($path); | $linter->willLintPath($path); | ||||
$linter->lintPath($path); | $linter->lintPath($path); | ||||
if ($linter->didStopAllLinters()) { | if ($linter->didStopAllLinters()) { | ||||
$this->stopped[$path] = $linter_name; | $this->stopped[$path] = $linter_name; | ||||
} | } | ||||
$linter->didLintPath($path); | |||||
} | } | ||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
$profiler->endServiceCall($call_id, array()); | $profiler->endServiceCall($call_id, array()); | ||||
throw $ex; | throw $ex; | ||||
} | } | ||||
$profiler->endServiceCall($call_id, array()); | $profiler->endServiceCall($call_id, array()); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |