]> khamidou — GitHub mirrors - arcanist.git/commit
Create a custom exception class for missing linter dependencies
authorJoshua Spence <josh@joshuaspence.com>
Tue, 6 Jan 2015 11:45:44 +0000 (22:45 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 6 Jan 2015 11:51:17 +0000 (22:51 +1100)
commit6eed5c251411e12acf41d23137b78e60412e6d76
tree46db1faced15ebe890cadd0f71e9c834fb917330
parent0b51f4d7c9b6848ba5eb25b0c9176e0ff94e6882
Create a custom exception class for missing linter dependencies

Summary: I feel that we are abusing `ArcanistUsageException`. Throw a more tailed exception instead. Depends on D11197.

Test Plan: `arc lint`, I guess.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: avivey, Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11205
src/__phutil_library_map__.php
src/lint/linter/ArcanistExternalLinter.php
src/lint/linter/ArcanistJSHintLinter.php
src/lint/linter/ArcanistMissingLinterException.php [new file with mode: 0644]
src/lint/linter/ArcanistPyLintLinter.php
src/lint/linter/__tests__/ArcanistExternalLinterTestCase.php
src/lint/linter/__tests__/ArcanistLinterTestCase.php