Changeset View
Changeset View
Standalone View
Standalone View
arcanist/linter/CheckDocLinter.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | final class CheckDocLinter extends ArcanistExternalLinter { | ||||
} | } | ||||
protected function getMandatoryFlags() { | protected function getMandatoryFlags() { | ||||
return array(); | return array(); | ||||
} | } | ||||
protected function parseLinterOutput($path, $err, $stdout, $stderr) { | protected function parseLinterOutput($path, $err, $stdout, $stderr) { | ||||
/* Split stdout: | /* Split stdout: | ||||
* 0 => Empty (before first 'Args' occurence) | * 0 => Empty (before first 'Args' occurrence) | ||||
* 1 => Args used: count | * 1 => Args used: count | ||||
* 2 => Args documented: count | * 2 => Args documented: count | ||||
* 3 => Args undocumented: count and list | * 3 => Args undocumented: count and list | ||||
* 4 => Args unknown: count and list | * 4 => Args unknown: count and list | ||||
*/ | */ | ||||
$stdoutExploded = preg_split('/Args/', $stdout); | $stdoutExploded = preg_split('/Args/', $stdout); | ||||
$undocumented = $stdoutExploded[3]; | $undocumented = $stdoutExploded[3]; | ||||
Show All 29 Lines |