mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Remove arcconfig
settings from ArcanistLinterTestCase
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
This commit is contained in:
parent
201d195f29
commit
fba62c0d9d
1 changed files with 1 additions and 7 deletions
|
@ -49,7 +49,6 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase {
|
|||
'hook' => 'optional bool',
|
||||
'config' => 'optional wild',
|
||||
'path' => 'optional string',
|
||||
'arcconfig' => 'optional map<string, string>',
|
||||
));
|
||||
|
||||
$exception = null;
|
||||
|
@ -65,15 +64,10 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase {
|
|||
|
||||
$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);
|
||||
|
|
Loading…
Reference in a new issue