// TODO?: String literal in array literal in call_user_func /
// call_user_func_array().
+ // TODO: Raise a soft warning for use of an unknown class in:
+ // - Typehints
+ // - instanceof
+ // - catch
+
$classes = $root->selectDescendantsOfType('n_CLASS_DECLARATION');
foreach ($classes as $class) {
$class_name = $class->getChildByIndex(1);
private function getGitUpdateMessage() {
$repository_api = $this->getRepositoryAPI();
- $parser = new ArcanistDiffParser($repository_api);
+ $parser = new ArcanistDiffParser();
$commit_messages = $repository_api->getGitCommitLog();
$commit_messages = $parser->parseDiff($commit_messages);
$conduit = $this->getConduit();
$repository_api = $this->getRepositoryAPI();
- $parser = new ArcanistDiffParser($repository_api);
+ $parser = new ArcanistDiffParser();
$commit_messages = $repository_api->getGitCommitLog();
$commit_messages = $parser->parseDiff($commit_messages);
$conduit = $this->getConduit();
$repository_api = $this->getRepositoryAPI();
- $parser = new ArcanistDiffParser($repository_api);
+ $parser = new ArcanistDiffParser();
$history_messages = $repository_api->getGitHistoryLog();
if (!$history_messages) {
// This can occur on the initial commit.