diff --git a/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php b/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php --- a/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php +++ b/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php @@ -138,12 +138,6 @@ } } - if ($this->getEngine()->getCommitHookMode()) { - // Don't do the dependency checks in commit-hook mode because we won't - // have an available working copy. - return; - } - $external_classes = array(); foreach ($uses as $symbol => $line) { $parts = explode('.', $symbol);