]> khamidou — GitHub mirrors - arcanist.git/commit
Improve strictness around `setLine()` types in ArcanistLintMessage
authorepriestley <git@epriestley.com>
Thu, 23 Jul 2015 20:19:53 +0000 (13:19 -0700)
committerepriestley <git@epriestley.com>
Thu, 23 Jul 2015 20:19:53 +0000 (13:19 -0700)
commitbd1da9da6c67df91b283c932cc3695655ea4d5d6
tree2a140162c7302d4dff33b8c1c5f98d40862bf18c
parent5e4f9a2bf9d2f6f8c8118bfb4d56256d5da13449
Improve strictness around `setLine()` types in ArcanistLintMessage

Summary: Fixes T8921. Harbormaster is strict about types it accepts, but `ArcanistLintMessage` is more liberal. Push the strictness barrier down to the linter level, while maintaining reasonable flexibility in the API.

Test Plan: `arc unit --everything`

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T8921

Differential Revision: https://secure.phabricator.com/D13695
src/lint/ArcanistLintMessage.php