ArcanistLintSeverity::SEVERITY_ADVICE, ); } public function getLintNameMap() { return array( self::LINT_FORMATTING => pht('Changes are not clang-formatted'), ); } protected function getFormatFuture($path, array $changed) { $args = ""; foreach ($changed as $key => $value) { $args .= " --lines=$key:$key"; } return new ExecFuture( "%s %s $args", self::CLANG_FORMAT_BINARY, $this->getEngine()->getFilePathOnDisk($path)); } protected function getLintMessage($diff) { $link_to_clang_format = "[[ http://fburl.com/clang-format | clang-format ]]"; return <<