Summary: This doesn't make too much sense anymore as all modern linters are configured via the `.arclint` file rather than `.arcconfig`.
Test Plan: `grep`ped to make sure this option isn't used.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11173
'hook' => 'optional bool',
'config' => 'optional wild',
'path' => 'optional string',
- 'arcconfig' => 'optional map<string, string>',
));
$exception = null;
$dir = dirname($full_path);
$path = basename($full_path);
- $config_file = null;
- $arcconfig = idx($config, 'arcconfig');
- if ($arcconfig) {
- $config_file = json_encode($arcconfig);
- }
$working_copy = ArcanistWorkingCopyIdentity::newFromRootAndConfigFile(
$dir,
- $config_file,
+ null,
'Unit Test');
$configuration_manager = new ArcanistConfigurationManager();
$configuration_manager->setWorkingCopyIdentity($working_copy);