Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistExternalLinter.php
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | /* -( Interpreters, Binaries and Flags )----------------------------------- */ | ||||
| * By default, linters which exit with an error code are assumed to have | * By default, linters which exit with an error code are assumed to have | ||||
| * failed. However, some linters exit with a specific code to indicate that | * failed. However, some linters exit with a specific code to indicate that | ||||
| * lint messages were detected. | * lint messages were detected. | ||||
| * | * | ||||
| * If the linter sometimes raises errors during normal operation, override | * If the linter sometimes raises errors during normal operation, override | ||||
| * this method and return true so execution continues when it exits with | * this method and return true so execution continues when it exits with | ||||
| * a nonzero status. | * a nonzero status. | ||||
| * | * | ||||
| * @param bool Return true to continue on nonzero error code. | * @return bool Return true to continue on nonzero error code. | ||||
avivey: :+1: | |||||
| * @task bin | * @task bin | ||||
| */ | */ | ||||
| public function shouldExpectCommandErrors() { | public function shouldExpectCommandErrors() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| /** | /** | ||||
| * Return true to indicate that the external linter can read input from | * Return true to indicate that the external linter can read input from | ||||
| ▲ Show 20 Lines • Show All 457 Lines • Show Last 20 Lines | |||||
👍