Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistLintersWorkflow.php
Context not available. | |||||
get_class($linter['exception']), | get_class($linter['exception']), | ||||
phutil_console_wrap( | phutil_console_wrap( | ||||
$linter['exception']->getMessage(), | $linter['exception']->getMessage(), | ||||
strlen($pad))); | @strlen($pad))); | ||||
$print_tail = true; | $print_tail = true; | ||||
} | } | ||||
Context not available. | |||||
if ($description) { | if ($description) { | ||||
$console->writeOut( | $console->writeOut( | ||||
"\n%s\n", | "\n%s\n", | ||||
phutil_console_wrap($linter['description'], strlen($pad))); | phutil_console_wrap($linter['description'], @strlen($pad))); | ||||
$print_tail = true; | $print_tail = true; | ||||
} | } | ||||
Context not available. | |||||
"%s\n", | "%s\n", | ||||
phutil_console_wrap( | phutil_console_wrap( | ||||
$option_spec['help'], | $option_spec['help'], | ||||
strlen($pad) + 2)); | @strlen($pad) + 2)); | ||||
if ($option != $last_option) { | if ($option != $last_option) { | ||||
$console->writeOut("\n"); | $console->writeOut("\n"); | ||||
Context not available. | |||||
$sizes = array(); | $sizes = array(); | ||||
foreach ($text_map as $key => $string) { | foreach ($text_map as $key => $string) { | ||||
$sizes[$key] = phutil_utf8_console_strlen($string); | $sizes[$key] = phutil_utf8_consolestrlen($string); | ||||
} | } | ||||
$longest = max($sizes); | $longest = max($sizes); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0